};
public static IFormatReader read(RemoteFile file, ICSVFetcherResult callback) throws Exception {
if(file.format.toLowerCase().matches("csv")) {
return new CSVFetcher(callback);
} else {
throw new Exception("FileReader: Unhandled format " + file.format + " for file " + file.url);
}
}