static Future<String> md5FileAsync(File file) async { var digest = await md5.bind(file.openRead()).first; return hex.encode(digest.bytes); }