import pickle


def pickle_read(filename):
    """Read pickle file.

    Args:
        filename (str): name of pickle file.

    Returns:
        object
    """
    fin = open(filename, 'rb')
    obj = pickle.load(fin)
    fin.close()
    return obj