moved zip method to util file