throw out unneeded files