code: public static byte[] hash(File file) throws IOException {
      return Files.hash(file, Hashing.md5()).asBytes();
    }
docs: Get the MD5 hash of the given file.
  
  @param file file to compute a hash on
  @return a byte array of the MD5 hash
  @throws IOException              if file cannot be found