title: Meteor: "ReferenceError: fs is not defined"
body: <p>Losing my mind with this one..</p>
  
  <p>Getting "fs is not defined" on meteor when trying to read a file:</p>
  
  <pre><code>var data = fs.readFileSync(filepathHidden);
  </code></pre>
  
  <p>I have this package: <code>cfs:filesystem 0.1.2</code> on <code>Meteor 1.1.0.2</code></p>
  
  <p>Funny thing here is that if I write in <em>meteor shell</em> <strong>fs</strong> it prints object and it seems to have lot of functions etc stuff. But the thing here is that after writing <strong>fs</strong> in <em>meteor shell</em> my code starts to work!? And if I close meteor server and then start it again my server code keeps nagging until I run <strong>fs</strong> in <em>meteor shell</em>...</p>
  
  <p>Can someone please explain what happens in this case? And how to achieve same thing in my code..</p>