import toml


def read_config_file(conf_file):
    """Function to read the TOML configuration File and return the config dict"""
    with open(conf_file) as toml_file:
        _conf = toml.load(toml_file)
    return _conf