Record all the data insight messages and write them to file.