code: function extractDoc(path, uuid) {
      let file;
      if (typeof (path) !== 'string') {
          logger_1.logger.log('warn', `path given is not a string type : \n ${path}`);
      }
      try {
          file = jsonfile.readFileSync(path);
      }
      catch (err) {
          logger_1.logger.log('warn', `while reading the json file ${path} : \n ${err}`);
          return null;
      }
      return file;
  }
docs: /*
  Function that add an '_id' key to a jobID.json file content.
  @path : the path of the jobID.json file
  @uuid : the uuid of the directory that contain the jobID.json file.
  #file : content of a jobID.json file.