import json


def load_data(file_name, directory='data'):
    """
    Loads the data from the specified file.
    """

    with open('{}/{}'.format(directory, file_name), 'r') as f:
        data = json.load(f)

    return data