import json


def load_config(json_file):
    """Load dsf configuration file.

    Keyword arguments:
    json_file -- configuration file in JSON format

    :param json_file: str
    :return config: dict
    """
    # Read the configuration file
    with open(json_file, "r") as f:
        # Load the JSON configuration data
        config = json.load(f)
        return config