code: def get_image_file_hash(image_path):
      '''get_image_hash will return an md5 hash of the file based on a criteria level.
      :param level: one of LOW, MEDIUM, HIGH
      :param image_path: full path to the singularity image
      '''
      hasher = hashlib.md5()
      with open(image_path, "rb") as f:
          for chunk in iter(lambda: f.read(4096), b""):
              hasher.update(chunk)
      return hasher.hexdigest(f get_image_file_hash(image_path):
      '''get_image_hash will return an md5 hash of the file based on a criteria level.
      :param level: one of LOW, MEDIUM, HIGH
      :param image_path: full path to the singularity image
      '''
      hasher = hashlib.md5()
      with open(image_path, "rb") as f:
          for chunk in iter(lambda: f.read(4096), b""):
              hasher.update(chunk)
      return hasher.hexdigest()
docs: get_image_hash will return an md5 hash of the file based on a criteria level.
      :param level: one of LOW, MEDIUM, HIGH
      :param image_path: full path to the singularity image