    public static JSONObject parseJSONFile(String configInfoPath) {
        JSONObject jsonObject = null;

        try {
            BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(new FileInputStream(configInfoPath)));

            StringBuilder builder = new StringBuilder();
            String line = null;
            while ((line = bufferedReader.readLine()) != null) {
                builder.append(line);
            }
            bufferedReader.close();

            jsonObject = new JSONObject(builder.toString());
        } catch (FileNotFoundException e) {
            System.err.println("config log file '" + configInfoPath + "' could not be found.");
            VoltDB.exit(-1);
        } catch (IOException e) {
            System.err.println(e.getMessage());
            VoltDB.exit(-1);
        } catch (JSONException e) {
            System.err.println("Error with config file: " + configInfoPath);
            System.err.println(e.getLocalizedMessage());
            VoltDB.exit(-1);
        }

        return jsonObject;
    }