Added check for zip extension

add the check for the zip-extension.