getFileSize method
Gets the size of a file in bytes
Implementation
@override
Future<int> getFileSize(String filePath) async {
final file = await _getFile(filePath);
if (file == null) {
throw Exception('No file selected or file not found');
}
return file.size;
}