Added utility funciton to check zip file