Adding zipfile error checking and logging