in reply to extracting zips

You might wish to try using Archive::Zip to extract the files.

Pax vobiscum,
-v
"Perl. There is no substitute."