Can successfully remove the trailling whitespaces of appropriate files