static Future<bool> doesFileExist(String filename) async { File f = File(filename); if (await f.exists()) { return true; } return false; }