Saving Interactions to a File