Adding new line at the end of file