Remove whitespace for more file types