code: @Override
      public void perform(final Wave wave) {
  
          File selected = wave.get(EditorWaves.EVENTS_FILE);
  
          if (selected == null) {
  
              final FileChooser fc = new FileChooser();
              fc.getExtensionFilters().add(new FileChooser.ExtensionFilter("log file", "*"));
              selected = fc.showOpenDialog(null);
  
          }
  
          if (selected != null) {
              // if nothing is selected
              // Process the file
              // getService(LoadEdtFileService.class).processEventFile(selected);
  
              returnData(LoadEdtFileService.class,
                         LoadEdtFileService.DO_LOAD_EVENTS,
                         WBuilder.waveData(EditorWaves.EVENTS_FILE, selected));
  
          }
      }
docs: {@inheritDoc}