code: def _sha256(path):
      
      sha256hash = hashlib.sha256()
      chunk_size = 8192
      with open(path, "rb") as buff:
          while True:
              buffer = buff.read(chunk_size)
              if not buffer:
                  break
              sha256hash.update(buffer)
      return sha256hash.hexdigest()
docs: Calculate the sha256 hash of the file at path.