public static void dumpFile(FbxFile file, OutputStream out) {
        Map<FbxId, FbxElement> uidToObjectMap = createUidToObjectMap(file);
        PrintStream ps = new PrintStream(out);
        for (FbxElement rootElement : file.rootElements) {
            dumpElement(rootElement, ps, 0, uidToObjectMap);
        }
    }
Dump FBX to the given output stream.

@param file the file to dump.
@param out the output stream where to output.
jme3-plugins/src/fbx/java/com/jme3/scene/plugins/fbx/file/FbxDump.java