docs: function updateFileData(filePath, newRelPath, oldRelPath, data) {
      return new Promise(async(res, rej) => {
          let file = editLinks(data, newRelPath, oldRelPath);
          try {
              await writeFile(filePath, file);
              res();
          } catch (err) {
              rej();
          }
      })
  }