import pickle


def load_sim_data(filename):
    """
    Load pickled dataset and return as list. 
    """
    with open(filename, 'rb') as f:
        done = False
        data_list = []
        while not done:
            try:
                data = pickle.load(f)
                data_list.append(data)
            except EOFError as err:
                done = True
    return data_list