docs: function isFileExist(path) {
    return new Promise((resolve, reject) => {
      fs.open(path, "r", (err, _fd) => {
        if (!err) {
          resolve(true);
          return;
        }
        if (err.code === "ENOENT") {
          resolve(false);
          return;
        }
        reject(err);
      });
    });
  }