code: function uploadFileClientSide() {
          // if (typeof window.FileReader === 'undefined') {
          //      alert('The File APIs are not fully supported in this browser.');
          // }
          var $upload = $("input:file");
  
          $upload.change(function (e) {
              e.stopPropagation();
              e.preventDefault();
  
              renderImportedFile($upload.get(0).files[0]);
              return false;
          });
      }
docs: /* Upload a text file (with-out drag-and-drop)