public void save(final CharSequence filename) throws ConfigurationException, IOException {
  final Writer w=new OutputStreamWriter(new FileOutputStream(filename.toString()),"UTF-8");
  super.save(w);
  w.close();
}

public void save ( final CharSequence filename ) throws ConfigurationException , IOException { final Writer w = new OutputStreamWriter ( new FileOutputStream ( filename . toString ( ) ) , "UTF-8" ) ; super . save ( w ) ; w . close ( ) ; }
saves the configuration to the specified file .
