import pickle


def pload(path: str) -> object:
    """
    Load an object from file with pickle.
    :param path: the file path to load.
    :return: the loaded_object.
    """
    with open(path, 'rb') as f:
        obj = pickle.load(f)

    return obj