docs: def get_package_hashes(filename):
      """Provides hash of given filename.
  
      Args:
  
          filename (str): Name of file to hash
  
      Returns:
  
          (str): sha256 hash
      """
      log.debug('Getting package hashes')
      filename = os.path.abspath(filename)
      with open(filename, 'rb') as f:
          data = f.read()
  
      _hash = hashlib.sha256(data).hexdigest()
      log.debug('Hash for file %s: %s', filename, _hash)
      return _hash