Check trailing space for all file types