refactoring zipfile processing - removing redundant zip open