public static String slurpFile(File file) throws IOException {
  Reader r=new FileReader(file);
  return slurpReader(r);
}

public static String slurpFile ( File file ) throws IOException { Reader r = new FileReader ( file ) ; return slurpReader ( r ) ; }
returns all the text in the given file .
