code: public void dumpStats(final String file) throws FileNotFoundException {
  		PrintStream out = null;
  		try {
  			out = new PrintStream(new FileOutputStream(file));
  			dumpStats(out);
  		} finally {
  			try {
  				out.close();
  			} catch (Exception ign) {
  			}
  		}
  	}
docs: Dump IOStats of tree to a file
  
  @param file
  @throws FileNotFoundException