public void writeToFile(String fileName) throws IOException {
  write(new FileOutputStream(fileName));
}

public void writeToFile ( String fileName ) throws IOException { write ( new FileOutputStream ( fileName ) ) ; }
write property database to given file .
