Implementation FileMessagesHandler.