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