title: I am trying to access a folder outside of the current directory of my folder in express js
body: <p>Their is two folders inside my folder one is made up for front-end and one is for back-end</p>
  <pre><code>project
  ├── back-end
  │   ├── public
  │   └── routes
  │       ├── Calling.js
  │       └── index.js
  └── front-end
      ├── public
      └── src
          └── Components
              └── Contact.js
  </code></pre>
  <p>from back-end am trying to call front end file by using sendFile()</p>
  <pre class="lang-js prettyprint-override"><code>app.get('/', function(req,res,next){
      
      res.sendFile(path.join(
          __dirname,
          '../back-end',
          '/front-end/src/Components/Contact'
      ))
     
  })
  </code></pre>
  <p>while am running (npm start) the folder is not switch back to front-end,It is considering as a folder of back-end  and showing no such file directory</p>
  <p><strong>Here is the error message</strong></p>
  <pre><code>ENOENT: no such file or directory, stat 'D:\Project\back-end\routes\front-end\contact-form\src\Components\Contact'
  </code></pre>