Remove trailing spaces on all file types