def METHOD_NAME(opts, env_config):
    """init"""
    # config file
    conf = ConfigParser()
    if opts.filename:
        conf_file = opts.filename
    elif env_config in os.environ:
        conf_file = os.environ[env_config]
    else:
        return None, []
    conffiles = file_list(conf_file)
    conffiles.reverse()
    files = conf.read(conffiles)
    return conf, files