static Future<void> deleteFile(String path) async { try { final file = File(path); await file.delete(); } catch (e) { debugPrint(e.toString()); } }