Updated zipdataset to store file correctly