import pickle


def load_pk_file(file_name):
    """
    Load data from a file using Pickle
    path: the path to the required file
    Return: the data in the form before saved
    """
    with open(file_name,'rb') as f:
        data = pickle.load(f)
    return data