writeFile method
Writes bytes to a file at the given path Creates the file if it doesn't exist, overwrites if it does
Implementation
@override
Future<void> writeFile(String filePath, Uint8List data) async {
final file = File(filePath);
await file.create(recursive: true);
await file.writeAsBytes(data);
}