from typing import Any
import pickle


def load_pickle(filename: str) -> Any:
    """load a pickle file

    Args:
        filename (str): path of pickled file

    Returns:
        Any: loaded object
    """
    with open(filename, "rb") as f:
        return pickle.load(f)