Added saving and loading of the chat log to disk