protected static Path createModelArtifact(Path onnxFile, OCIModelArtifactConfig config) throws IOException {
        // Create model artifact
        Path zipFile = Files.createTempFile("oci-ds-model-deployment",".zip");

        // This works around the lack of FileSystems.newFileSystem(Path, Map) before Java 13
        // It creates a jar URI to hit the ZipFileSystem, then deletes the temp file to force
        // the ZipFileSystem to create an empty zip file with the right header
        URI uri = URI.create("jar:"+zipFile.toUri());
        Files.delete(zipFile);

        try (FileSystem zipFS = FileSystems.newFileSystem(uri, Collections.singletonMap("create","true"))) {
            OCIUtil.storeResource(zipFS, "score.py");
            String runtimeYaml = buildRuntimeYaml(config.condaName, config.condaPath);
            ByteArrayInputStream baos = new ByteArrayInputStream(runtimeYaml.getBytes(StandardCharsets.UTF_8));
            OCIUtil.storeStream(zipFS, "runtime.yaml", baos);
            OCIUtil.storeStream(zipFS, "model.onnx", Files.newInputStream(onnxFile));
        }

        return zipFile;
    }
@Test
    public void testFileCreation() throws URISyntaxException, IOException {
        OCIUtil.OCIDSConfig dsConfig = new OCIUtil.OCIDSConfig("some-compartment","some-project");
        OCIUtil.OCIModelArtifactConfig config = new OCIUtil.OCIModelArtifactConfig(dsConfig,
                "irises",
                "text",
                "com.example",
                0,
                "test_conda",
                "oci://service-conda-packs@id19sfcrra6z/service_pack/cpu/Onnx for CPU Python 3.7/1.0/test_conda");
        Path zip = OCIUtil.createModelArtifact(new File(OCIUtilTest.class.getResource("iris-lr-model.onnx").toURI()).toPath(),config);
        zip.toFile().delete();
    }