import pickle


def general_rec(fname: str) -> tuple:
    """Reads pickle content from the file.

    Args:
        :param str fname: pickle filename

    Returns:
        :return: state from the pickle
        :rtype: tuple
    """
    with open(fname, 'rb') as f:
        state = pickle.load(f)
    return state