title: fs.readFileSync Cannot read file passing path variable in nodejs
body: <p>I am trying to read xml file using fs.I am not able to read file using fs.readFileSync after passing path variable as first paramter to this function.
  Note:this is in windows machine</p>
  
  <pre><code>xmlFile="C:\Users\xyz\AppData\Local\.proxySettings.xml";
  function myFunc(xmlFile) {
   let xmlData = fs.readFile(xmlFile);
   alert(xmlData);//doesn't print anything
  
   parser = new DOMParser();
   xmlDoc = parser.parseFromString(xmlData,"text/xml");
  ....
  ....
  }
  
  &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
    &lt;proxy_port&gt;2582&lt;/proxy_port&gt;
  
  
  </code></pre>
  
  <p>update in the file </p>
  
  <pre><code> try{
      ffile="jdkdkj";
    fs.readFileSync(ffile); 
  }catch(err){
    app.console.log(err);
  }
  
  Error { errno: -4058, syscall: 'open', code: 'ENOENT', path: 'jdkdkj' }
  </code></pre>