In the NW.js object, there is a ReadFile expression (not an action) that synchronously reads the content of a file and returns the content as a string.
However I would advise using the File System object with one of the newer export options. NW.js is deprecated so will be removed in future, and the File System object can read files asynchronously which is usually better for performance and avoiding jank.