import pickle


def load_pkl(file):
    """ Loads a .pkl file

    Preconditions:
    file: string

    Parameters:
    file: path to the file that will be loaded

    Postconditions:
    obj: some object that was loaded from the file
    """
    a_file = open(file, 'rb')
    obj = pickle.load(a_file)
    a_file.close()

    return obj