public void write(String message){
  try {
    m_fw.write(message);
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}

public void write ( String message ) { try { m_fw . write ( message ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } }
pass a string to write a message to the file .
