public static void printToFile(File file,String message){
  printToFile(file,message,false);
}

public static void printToFile ( File file , String message ) { printToFile ( file , message , false ) ; }
prints to a file . if the file does not exist , rewrites the file ; does not append .
