PrintStream ps = new PrintStream(new FileOutputStream(f)); while (nextNode()){}
PrintStream ps = new PrintStream(new FileOutputStream(f)); while (nextNode()){}
PrintStream ps = new PrintStream(new FileOutputStream(f)); while (nextNode()){}
PrintStream ps = new PrintStream(new FileOutputStream(f)); while (nextNode()){}