import json


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

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

    return data