@Override
    protected void runFile(Path file) {
        if (outFile == null) {
            String fileName = PathUtils.getBaseName(file);
            outFile = file.getParent().resolve(fileName + ".unity3d");
        }

        Bundle bundle = new Bundle();
        try (BundleWriter bundleWriter = new BundleWriter(outFile)) {
            BundleProps.read(file, bundle);
            bundleWriter.write(bundle, progress);
        } catch (IOException ex) {
            L.log(Level.WARNING, "Can't pack asset bundle " + file, ex);
        }
    }
@author Nico Bergemann <barracuda415 at yahoo.de>
disunity-cli/src/main/java/info/ata4/disunity/cli/command/bundle/BundlePack.java