import pickle


def save_pk_file(data, path):
    """
    Save data to a file using Pickle
    path: the path to the save file
    Return: file name
    """
    file_name = path+".pk"
    with open(file_name,'wb') as f:
        pickle.dump(data, f)
    print( "File {}.pk created".format(path))
    return file_name