code: function loadFile() {
      console.log('file:', file);
  
      // Create CanvasGrid object
      canvasGrid = new CanvasGrid.CanvasGrid(settings);
  
      // <file> can be Image, File URL object or URL string (http://* or data:image/*)
      canvasGrid.load(file).then(function(cg) {
          console.log('canvasGrid:', cg);
          drawCanvasGrid(cg);
      })
      .catch(function(error) {
          console.error('error:', error);
      });
  }
docs: Load file...