prune unneeded files