import json


def load_dict_from_json(filename: str) -> dict:
    """
    Load the given file as a python `dict`

    Parameters
    ----------
    filename: `str` an absolute path to the json file to be loaded.

    Returns
    -------
    `dict` The loaded json file as a python dictionary.
    """
    with open(filename, 'r') as file:
        return json.loads(file.read())