title: Javascript filereader is not working at all
body: <p>I am a beginner, doing my project. Part of my work is read a file from local in to html file. So I wrote the code below which from internet. But it's not working at all. My firefox gets nothing back on the page.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;My first styled page&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;script&gt; 
  var reader = new FileReader();
  reader.onload = function(){
  var text = reader.result;
  document.querySelector('body').append(text);
  };
  reader.readAsText(README, "us-ascii");
  &lt;/script&gt;
  
  &lt;!-- Site navigation menu --&gt;
  &lt;ul class="navbar"&gt;
  &lt;li&gt;&lt;a href="alamode-fetch"&gt;Alamode&lt;/a&gt;
  &lt;li&gt;&lt;a href="README"&gt;Readme&lt;/a&gt;
  &lt;li&gt;&lt;a href="town.html"&gt;My town&lt;/a&gt;
  &lt;li&gt;&lt;a href="links.html"&gt;Links&lt;/a&gt;
  &lt;/ul&gt;
  
  &lt;!-- Main content --&gt;
  &lt;h1&gt;My first styled page&lt;/h1&gt;
  &lt;p&gt;Welcome to my styled page!
  &lt;p&gt;It lacks images, but at least it has style.And it has links, even if they     don't go anywhere&amp;hellip;
  &lt;p&gt;There should be more here, but I don't know what yet.
  &lt;!-- Sign and date the page, it's only polite! --&gt;
  &lt;address&gt;Made 5 April 2004&lt;br&gt;
    by myself.
  &lt;/address&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>This is the html file. So still nothing after add those code in script.</p>