import hashlib


def sha256_checksum(content):
  """Returns the sha256 hexdigest for a file in the local filesystem."""
  sha256 = hashlib.sha256()
  sha256.update(content)
  return sha256.hexdigest()