require a plain text or binary file in node.js