def write_file(file_name: str, contents: str):
    """Reads the bytes of a file.

  Args:
    file_name: The file to read.

  Returns:
    The bytes of the file.
  """
    with open(file_name, 'wb') as f:
        return f.write(contents)
