Save messages to file. Validator module added.