Move zip import from template controller to model.