title: Reading uploaded text file contents in html
body: <p>I want to show contents of uploaded file in html, I can just upload a text file.
  My example.html:</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
  &lt;p&gt;
  Please specify a file, or a set of files:&lt;br&gt;
  &lt;input type="file" name="datafile" size="40"&gt;
  &lt;/p&gt;
  
  &lt;textarea id="2" name="y" style="width:400px;height:150px;"&gt;&lt;/textarea&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How can I show contents of any uploaded text file in textarea shown below?
  <a href="https://i.stack.imgur.com/wAW4R.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wAW4R.png" alt="ScreenShot"></a></p>