import json


def load_json(json_path = "folder_tree.json"):
    """
    Loads in memory a structured dictionary saved with `create_json`

    :param json_path: Path of JSON file with the dictionary
    :type json_path: str
    :return: Loaded JSON file 
    :rtype: dict
    """
    with open(json_path, "r") as json_file:
        files_index = json.load(json_file)
        # Check number of users loaded
        return files_index