make zipFolder work again

because previously accidentally deleted code when implementing unzip