added zip file error checking
added zip file error checking