import pickle


def read_object(filename):
    """
    Function to read/un-pickle python object

    :param filename: path to pickle file

    """

    with open(filename, 'rb') as input_stream:
        obj = pickle.load(input_stream)
    return obj