File file = new File(baseDir, path);
if (file.isHidden() || !file.exists()) {
throw new FileNotFoundException("No such file: " + baseDir + "/" + path);
}
if (!file.isFile()) {
throw new FileAccessForbiddenException("No such file: "
+ baseDir + "/" + path);
}
return new FileChunk[] {new FileChunk(file, 0, file.length())};
}