Finished up saving events to a text file