a new line should be added at the end of the file