title: Read a text file using Node.js?
body: <p>I need to pass in a text file in the terminal and then read the data from it, how can I do this?</p>
  
  <pre><code>node server.js file.txt
  </code></pre>
  
  <p>How do I pass in the path from the terminal, how do I read that on the other side?</p>