def AddMapping(self, filename, new_mapping):
    for field in self._REQUIRED_MAPPING_FIELDS:
      if field not in new_mapping:
        raise problems.InvalidMapping(field)
    if filename in self.GetKnownFilenames():
      raise problems.DuplicateMapping(filename)
    self._file_mapping[filename] = new_mapping
Adds an entry to the list of known filenames.
dataset/ETHPy150Open google/transitfeed/transitfeed/gtfsfactory.py/GtfsFactory.AddMapping