reduce code of ZIP creation