code: public static String fileToString(FileSystem fs, Path path) throws IOException {
  		if(!fs.exists(path)) {
  			return null;
  		}
  
  		InputStream is = fs.open(path);
  		InputStreamReader isr = new InputStreamReader(is);
  		BufferedReader br = new BufferedReader(isr);
  		char[] buff = new char[256];
  		StringBuilder sb = new StringBuilder();
  		int read;
  		while((read = br.read(buff)) != -1) {
  			sb.append(buff, 0, read);
  		}
  		br.close();
  		return sb.toString();
  	}
docs: Reads the content of a file into a String. Return null if the file does not
  exist.