title: How to pass .json file name as argument to command line in node.js
body: <p>I run app.js with command <code>node app.js</code> </p>
  
  <p>It executes <code>const inputData = require('./input.json');</code> </p>
  
  <p>Is it possible pass file name as argument to <code>const inputData = require('./file.json');</code> from command line? I mean:</p>
  
  <p><code>node app.js file.json</code> </p>
  
  <p>I am totally new to this trickery, have no theoretical point. From where I should start? Many thanks for all possible help.</p>
  
  <p>Much obliged, </p>