prunning unneeded files