addresses #26 - adding newlines to the end of every file