title: Remove the possibility of the user to select a file
body: <p>I would like to remove the possibility to choose a file from the following code. 
  I mean, I have a button that, when clicked, gives to the user the possibility to load a file into the program. However I would like to load by default a file called "animation.txt".</p>
  
  <p>I don't want to force the user to be in a particular path, but I want to totally remove the possibility to choose a file. I already know the path and the name of it, and the program should only read it.</p>
  
  <p>I have tried to play with the code, but I get this error:</p>
  
  <pre><code>  Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'.
  </code></pre>
  
  <p>This is my code:</p>
  
  <p>---- .JS FILE -----</p>
  
  <pre><code>  document.getElementById('saveLoader').onchange = function() {
  
          keyframeTheta = [];
          var file = this.files[0];
          var reader = new FileReader();
          reader.onload = function(progressEvent) {
            // By parts
            var parts = this.result.split('|');
            for (var i = 1; i &lt; parseInt(parts[0]) + 1; i++) {
              var allValues = parts[i].split(',');
              var someTheta = [];
              for (var f = 0; f &lt; allValues.length + 10; f++) {
                console.log(allValues[f]);
                someTheta[f] = parseFloat(allValues[f]);
              }
  
              console.log(someTheta[0]);
              keyframeTheta.push(someTheta.slice());
            }
  
          };
          reader.readAsText(file);
          toastr["success"]("Animation loaded successfully. Hit Run", "Animation");
        }
  </code></pre>
  
  <p>---- HTML FILE ------</p>
  
  <pre><code>           &lt;li class="nav-item"&gt;
                &lt;label class="nav-link" style="color: white" type='file' accept='text/plain' for="saveLoader"&gt;
                   &lt;input style="display:none" type="file" name="file" id="saveLoader"/&gt;
                   &lt;i class="now-ui-icons files_paper"&gt;&lt;/i&gt;
                   &lt;p&gt;Load Animation&lt;/p&gt;
                &lt;/label&gt;
             &lt;/li&gt;
  </code></pre>