FileSelected(event) {
        if (event.srcElement !== null && event.srcElement.files.length > 0) {
          loadFile(event.srcElement.files[0])
        }        
      }

      function stopEvent(event) {
        event.preventDefault()
        event.stopPropagation()
      }

      function onDrop(event) {
        if (event.dataTransfer !== null && event.dataTransfer.files.length > 0) {
          loadFile(event.dataTransfer.files[0])
        }

        event.preventDefault()
        event.stopPropagation(