import pickle


def load_data_labels(file_name):
    """ Handy utility to unpack data

    :param file_name: file to unpack
    :return: (data_vec, label_vec), (data vector, label vector)
    """
    with open(file_name, 'rb') as load_file:
        data = pickle.load(load_file)
        data_vec = data['data']
        label_vec = data['labels']
        return data_vec, label_vec