public static String readTextFile(String fileName) throws IOException {
  byte[] buff=readFile(fileName);
  String s=new String(buff);
  return s;
}

public static String readTextFile ( String fileName ) throws IOException { byte [ ] buff = readFile ( fileName ) ; String s = new String ( buff ) ; return s ; }
read a string from a file . the default encoding for this platform is used .
