added newlines to the end of files, escaped and translated some things