Output the message to the file.