super(file);
}
public InputStream read() {
if (file.isDirectory()) {
throw new ResourceIsAFolderException(String.format("Cannot read resource %s because it is a folder.", file.getName()));
}
try {
FileInputStream fis = new FileInputStream(file);
return new BufferedInputStream(fis);
} catch (FileNotFoundException e) {