def mapping_for_file(self, filename):
        year = self._filename_year(filename)
        try:
            return next(m for m in self.mappings(year)
                        if m['generated_filename'] == filename)
        except StopIteration:
            msg = "Mapping for standardized filename {} could not be found"
            msg = msg.format(filename)
            raise LookupError(msg)
Get list of detailed configuration setting for each part of the setting.
dataset/ETHPy150Open openelections/openelections-core/openelex/base/datasource.py/BaseDatasource.mapping_for_file--crossover with--dataset/ETHPy150Open openlmi/openlmi-scripts/commands/networking/lmi/scripts/networking/__init__.py/get_sub_setting