adding newline to end of files