Add line ending to files
Remove trailing spaces