adding new lines to the end of files.