import pickle


def loadData(file_path):

    """
    Load a log file. (Use the built-in pickle module)

    Parameters
    ----------
    file_path: str
        path of the log file


    Returns
    -------
    - data: arbitrary object
        arbitrary Python object which contains data
    """

    with open(file_path, 'rb') as _input:
        data = pickle.load(_input)
    print('--- File Load Success! --- ')
    print(file_path)
    return data