code: def _download_and_clean_file(filename, url):
    
    temp_file, _ = urllib.request.urlretrieve(url)
    with tf.gfile.Open(temp_file, 'r') as temp_eval_file:
      with tf.gfile.Open(filename, 'w') as eval_file:
        for line in temp_eval_file:
          line = line.strip()
          line = line.replace(', ', ',')
          if not line or ',' not in line:
            continue
          if line[-1] == '.':
            line = line[:-1]
          line += '\n'
          eval_file.write(line)
    tf.gfile.Remove(temp_file)
docs: Downloads data from url, and makes changes to match the CSV format.