code: public static String readAsString(String reportPath) throws IOException {
  		StringBuffer fileData = new StringBuffer(1000);
  		BufferedReader reader = new BufferedReader(new FileReader(reportPath));
  		char[] buf = new char[1024];
  		int numRead = 0;
  		while ((numRead = reader.read(buf)) != -1) {
  			fileData.append(buf, 0, numRead);
  		}
  		reader.close();
  		return fileData.toString();
  	}
docs: Read a report file as string
  
  @param reportPath
  file path
  @return string file content
  @throws IOException
  if file cannot be read