import pickle


def load_pickle(filepath):
    """Loads an object from pickle."""
    try:
        with open(filepath, "rb") as f:
            return pickle.load(f)
    except FileNotFoundError as e:
        raise ValueError(f"File '{filepath}' does not exist.") from e