question: public void saveData ( File file ) throws IOException { synchronized ( accumulators ) { ObjectOutputStream oos = null ; try { oos = new ObjectOutputStream ( new FileOutputStream ( file ) ) ; oos . writeObject ( accumulators ) ; } finally { if ( oos != null ) { oos . close ( ) ; } } } }
target:  Saves all results stored in this controller to the specified file.