Added a message to the file