import json


def load_json_file(file_loc:str = "ImageLabeling/LabeledImages.json"):
    """
    Loads JSON file as a dictionary

    Args:
        file_loc: Location of JSON file

    Returns:
        Dictionary based on the provided file
    """
    with open(file_loc, "r") as f:
        data = json.load(f)
    return data