adding a newline to end of file