added method to validate a zip file