title: Read all files in folder through file dialog
body: <p>I was using folder dialog which gets all files in a folder and then through FILELIST API i can read all files. Mycode for folder dialog is and filereading is as follows:</p>
  
  <pre><code> document.getElementById('files').onchange = function(e) {
          // Retrieve the file list from the input element
        /*  var control = $("#files");
          control.replaceWith( control = control.clone( true ) );
           */
          alert("On Change function called:");
          Files =e.target.files;
          readFiles=e.target.files;
          for (var i in e.target.files)
          {
  e.target.files[i].webkitRelativePath+"\n";
  
              if(e.target.files[i].webkitRelativePath!=undefined)
                  {
  
                      {
  
                      console.log("Path: "+e.target.files[i].webkitRelativePath) ;
                      var reader = new FileReader();
  
   reader.readAsText(e.target.files[i]); 
  }
  </code></pre>
  
  <p>Now what i want is that there will be a file dialog and user chooses a file and all files placed in the folder from where user chooses a file are pushed in FILELIST and then i will read all files from above code. i am stuck in how to push file FileLIST.</p>