message text wrote to file