private ObjectNode fetchAllQueriesFromFile() {
    InputStream inputStream = null;
    JsonNode queriesJSON = mapper.createObjectNode();

    try {
      inputStream =
          new FileInputStream(repository.getPulseConfig().getQueryHistoryFileName());
      String inputStreamString = new Scanner(inputStream, "UTF-8").useDelimiter("\\A").next();
      queriesJSON = mapper.readTree(inputStreamString);
    } catch (FileNotFoundException e) {
      logger.debug(resourceBundle.getString("LOG_MSG_DATA_BROWSER_QUERY_HISTORY_FILE_NOT_FOUND"),
          e);
    } catch (Exception e) {
      logger.info(e);
    } finally {
      // Close input stream
      if (inputStream != null) {
        try {
          inputStream.close();
        } catch (IOException e) {
          logger.info(e);
        }
      }
    }

    return (ObjectNode) queriesJSON;
  }
generateQueryKey method fetches queries from query history file

@return Properties A collection queries in form of key and values
geode-pulse/src/main/java/org/apache/geode/tools/pulse/internal/data/DataBrowser.java