title: How to open a local disk file with JavaScript?
body: <p>I tried to open file with</p>
  
  <pre><code>window.open("file:///D:/Hello.txt");
  </code></pre>
  
  <p>The browser does not allow opening a local file this way, probably for security reasons. I want to use the file's data in the client side. How can I read local file in JavaScript?</p>