Updated print messages
Add end of line character to the end of each output file