code: def get_config_filename(metadata):
      
      envvar = "{}__SETTINGS".format(underscore(metadata.name).upper())
      try:
          return environ[envvar]
      except KeyError:
          return None
docs: Derive a configuration file name from the FOO_SETTINGS
      environment variable.