getFile method
Retrieves a File object for the given path.
Implementation
@override
Future<File> getFile(String path) async {
final filePath = resolvePath(path);
if (filePath == rootDirectory) {
throw FileSystemException("Cannot get root as a file", path);
}
return File(filePath);
}