private byte[] fileDigest(File file) throws IOException {
    try (BufferedInputStream fis = new BufferedInputStream(new FileInputStream(file))) {
      byte[] data = new byte[8192];
      int read;
      while ((read = fis.read(data)) > 0) {
        messageDigest.update(data, 0, read);
      }
    }

    return messageDigest.digest();
  }
Uses MD5 hashes to determine if the original byte content of this DeployedJar is the same as
that past in.

@param stagedFile File to compare the original content to
@return True of the MD5 hash is the same o
geode-deployment/geode-deployment-legacy/src/main/java/org/apache/geode/deployment/internal/DeployedJar.java