title: Open a file in my project folder with Javascript
body: <p>I want to use javascript to read a file called &quot;orca.txt&quot; to get a number (counter).
  I tried to do that:</p>
  <pre class="lang-js prettyprint-override"><code>var contador=0; 
  
  var fr = new FileReader();  
  fr.onload = function(e) {contador = e.target.result;};
  
  fr.readAsText(&quot;orca.txt&quot;);
  </code></pre>
  <p>I know how to do that with an &quot;input&quot; but i don't want user choice a file... the file is always <code>orca.txt</code>
  Can anyone help me?</p>