Calculates the MD5 digest of a given file filePath.
filePath
static String calculateDigestFor(String filePath) { return md5.convert(File(filePath).readAsBytesSync()).toString(); }