def read_file(filename):
  """Read and return the contents of a file in a single file.read().

  :param string filename: The filename of the file to read.
  :returns: The contents of the file.
  :rtype: string
  """
  with open(filename, 'rb') as f:
    return f.read()