delete unneeded files.