Writing Message to file
Writing message to file