code: function getEntitlements(file) {
      let content;
  
      try {
        content = fs.readFileSync(file, "utf8");
      } catch (err) {
        return {};
      }
  
      return plist.parse(content);
    }
docs: read entitlements