Quick question on write to j3o

I have been attempting to save a Node to a j3o file i need to store a some level info as well as a bunch of placed boxes around the scene which i generate; however, nothing seems to be in the j30 file when i export. I wasn't sure what the issue was so i extended node instead since I do have to save some other information as well. This got the writing part to save successfully however their is still nothing in the file can anyone tell me what the issue is.



import com.jme3.app.SimpleApplication;
import com.jme3.export.binary.BinaryExporter;
import com.jme3.export.binary.BinaryImporter;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.math.Vector3f;
import com.jme3.scene.Geometry;
import com.jme3.scene.Node;
import com.jme3.scene.shape.Box;
import java.awt.Rectangle;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Kyle Williams
 */
public class testClass extends SimpleApplication {

    public static void main(String args[]){
        testClass app = new testClass();
        app.start();
    }

    @Override
    public void simpleInitApp() {
        this.flyCam.setMoveSpeed(1000);
        Material mat = new Material(assetManager, "Common/MatDefs/Misc/SolidColor.j3md");
        mat.setColor("m_Color", ColorRGBA.Blue);

sceneNode sN = new sceneNode("test","testStage",mat);
       
         try {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            baos.writeTo(new FileOutputStream("test/LevelBuilder/scene.j3o"));
            BinaryExporter exp = new BinaryExporter();
            exp.save(sN, baos);

            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
            BinaryImporter imp = new BinaryImporter();
            imp.setAssetManager(assetManager);
            Node ogreModelReloaded = (Node) imp.load(bais, null, baos);

            rootNode.attachChild(ogreModelReloaded);
        } catch (IOException ex){
            ex.printStackTrace();
        }
       
    }

    class sceneNode extends Node{
        public sceneNode(String name,String stageName, Material mat){
            super(name);
            setUp(stageName,mat);
        }

        public void setUp(String stageName,Material mat){
            Geometry plat;
            findRectangles fRC = new findRectangles();
            fRC.starts(stageName);

               for(Rectangle r:fRC.getRectangles()){
               System.out.println("THIS IS A RECTANGLE"+r.toString());

               plat = new Geometry("Platform", new Box(new Vector3f((r.x + r.width / 2),-(r.y + r.height / 2),0),r.width/2,r.height/2,10));
               plat.setMaterial(mat);
               plat.updateModelBound();
               this.attachChild(plat);
            }
            fRC.stop();
        }

    }
}



~WORLD CUP!!