title: Node converting relative path to absolute, not desired
body: <p>I have the following issue, in the function sendDownload(downlodable ,objPathArray, responseObject) I am receiving the parameter objPathArray like this:</p>
  <pre><code>[{&quot;pathToFile&quot;:&quot;./REPORTS/portfolio/onDemand/Portfolio_report_HP_17.08.2021.xlsx&quot;,&quot;file&quot;:&quot;Portfolio_report_HP_17.08.2021.xlsx&quot;}]
  </code></pre>
  <p>The function:</p>
  <pre><code>function sendDownload(downlodable ,objPathArray, responseObject) {    
      if (downlodable) {  
          responseObject.download((objPathArray[0].pathToFile), (objPathArray[0].file))      
          console.log('HERE ' + JSON.stringify(objPathArray))        
      }
  }
  </code></pre>
  <p>but when I call the function in my app I receive this error <code>Error: ENOENT: no such file or directory, stat 'C:\Work\reporting-server\REPORTS\portfolio\onDemand\Portfolio_report_HP_17.08.2021.xlsx'</code> and that's because Node is changing my relative path for the file in an absolute one.
  What is the best option for me in order to solve this issue ?</p>
  <p>Thank you~</p>