import pickle


def pickle_load(namefile: str):
    """Load Python variable, given name of file.
    :param namefile: A string of file to load.
    :return output: A loaded variable.
    """
    with open(namefile, 'rb') as load_file:
        output = pickle.load(load_file)
    return output