remove the unneeded files