from typing import Any
import pickle


def read_pickle(path_to_pickle: str) -> Any:
    """ Read a pickle file in latin encoding and return the contents """
    with open(path_to_pickle, "rb") as pickle_file:
        content = pickle.load(pickle_file, encoding="latin1")
    return content