title: Reading Server Side file with Javascript
body: <p>Does anyone know of a tutorial on how to read data from a server side file with JS? I cant seem to find any topics on this when I google it. I tried to use but it does not seem to work. I just want to read some data from a file to display on the page. Is this even possible?</p>
  
  <pre><code>var CSVfile = new File("test.csv");
  var result = CVSfile.open("r");
  var test = result.readln();
  </code></pre>