Storing conversation to a file