title: NodeJS readdir and require relative paths
body: <p>Let's say I have this directory structure</p>
  
  <pre><code>/Project
     /node_modules
        /SomeModule
           bar.js
     /config
        /file.json
     foo.js
  </code></pre>
  
  <p>-</p>
  
  <pre><code>foo.js:
  require('bar');
  </code></pre>
  
  <p>-</p>
  
  <pre><code>bar.js:
  fs.readdir('./config'); // returns ['file.json']
  var file = require('../../../config/file.json');
  </code></pre>
  
  <p>Is it right that the readdir works from the file is being included (foo.js) and require works from the file it's been called (bar.js)?</p>
  
  <p>Or am I missing something?
  Thank you</p>