getRelatedFilesData(parsedRootFiles, inputData, origin) {
    const data = parsedRootFiles.map((root) => {
      let relatedData = getRelatedFiles(root, inputData, origin),
        result = {
          rootFile: { path: root.fileName },
          relatedFiles: relatedData.relatedFiles,
          missingRelatedFiles: relatedData.missingRelatedFiles
        };
      return result;
    });
    return data;
  }
@description Takes in a the root files obtains the related files and
generates the result object
@param {object} parsedRootFiles - found parsed root files
@param {array} inputData - file data information [{path, content}]
@param {Array} origin - process origin (BROWSER or node)

@returns {object} process result { rootFile, relatedFiles, missingRelatedFiles }