import configparser


def load_config(feed_file):
    """Load configs into dict."""
    config_dict = {}
    config = configparser.RawConfigParser()
    # load the feed config
    config.read(feed_file)
    config_dict = {}
    for key in config:
        config_dict[key] = config[key]
    return config_dict