readFile method
Reads and returns the data from the file at the specified path.
Implementation
@override
Future<List<int>> readFile(String path) async {
final file = await getFile(path);
if (!await file.exists()) {
throw FileSystemException("File not found: $path");
}
return file.readAsBytes();
}