title: Node.js fs.readFile()
body: <p>can anyone think of a reason for the readFile function's callback doesn't get executed?</p>
  
  <pre><code>fs.exists(filePath, function(exists){
     if(exists){ // results true
        fs.readFile(filePath, "utf8", function(err, data){
           if(err){
              console.log(err)
           }              
           console.log(data);
        })
     }
  });
  </code></pre>
  
  <p>filePath is ./etc/coords.txt and it's a json formatted string.</p>
  
  <p>using the Sync version - readFileSync - doesn't work as well. </p>