Remove unneeded files. Strip some trailing whitespaces.