public void writeToFile(File filename) throws IOException {
  FileUtils.stringToFile(mText.toString(),filename);
}

public void writeToFile ( File filename ) throws IOException { FileUtils . stringToFile ( mText . toString ( ) , filename ) ; }
write the reference . txt to a file
