code: private static boolean equalsHashes(File fileToHash, String hashToCompare) throws IOException {
  
          boolean result = false;
          // Now calculate the new hash and compare the 2. If they are NOT the same the ifix needs to be re-applied.
          String fileHash = MD5Utils.getFileMD5String(fileToHash);
          if (fileHash.equals(hashToCompare))
              result = true;
  
          return result;
      }
docs: This method calculates a hash of the required file and compares it against the supplied hash. It then returns
  true if both hashes are equals.
  
  @param fileToHash - The file to calculate the hash for.
  @param hashToCompare - The hash to compare.
  @return - A boolean indicating whether the hashes are equal.