code: public static String readTextFile(String fileName) {		
  		try {
  			return readText(new FileInputStream(new File(fileName)));
  		} catch (FileNotFoundException e) {
  			e.printStackTrace();
  			
  			return null;
  		}
  	}
docs: Read text file.
  
  @param fileName the file name
  @return the string