import contextlib
import bz2
import pickle


def load_collection(file_to_load):
    """ Load file file_to_load and return its collection, where:
        collection_data = {'TITLE': title, 'DESC': desc, 'INFO': info, 'DATA': data}
    """
    with contextlib.closing(bz2.BZ2File(file_to_load, 'rb')) as f:
        collection_data = pickle.load(f)
    return collection_data