import toml


def read_config(filepath):
    """
    Read the given file and return the toml-config

    :param str,os.path.normpath filepath:
        Filepath with the config.
    :return: dict config:
        Loaded config
    """
    with open(filepath, "r") as file:
        config = toml.load(file)
    return config