First check out the appstore. There are a couple of widgets already doing this: https://appstore.home.mendix.com/link/app/108292/Achmea/ZipHandling
Regards,
Ronald