import json


def load_from_file(file_path):
    """Loads data from file to a dict

    Args:
        file_path (str): path of the json file
    """
    with open(file_path) as fp:
        obj = json.load(fp)
    return obj