code: function loadJSONConfigFile(filePath) {
      debug(`Loading JSON config file: ${filePath}`);
  
      try {
          return JSON.parse(stripComments(readFile(filePath)));
      } catch (e) {
          debug(`Error reading JSON file: ${filePath}`);
          e.message = `Cannot read config file: ${filePath}\nError: ${e.message}`;
          e.messageTemplate = "failed-to-read-json";
          e.messageData = {
              path: filePath,
              message: e.message
          };
          throw e;
      }
  }
docs: Loads a JSON configuration from a file.
  @param {string} filePath The filename to load.
  @returns {Object} The configuration object from the file.
  @throws {Error} If the file cannot be read.
  @private