Added flatfile saving for the message.