def METHOD_NAME(filename, input_dict):
  """Writes out a `.csv` file from an input dictionary.
  After writing out the file, it checks the new list against the golden
  to make sure golden file is up-to-date.
  Args:
    filename: String that is the output file name.
    input_dict: Dictionary that is to be written out to a `.csv` file.
  """
  f = open(PATH_TO_DIR + "/data/" + filename, "w")
  for k, v in input_dict.iteritems():
    line = k
    for item in v:
      line += "," + item
    f.write(line + "\n")
  f.flush()
  print("Wrote to file %s" % filename)
  check_with_golden(filename)