remove unneeded files.