If the command is OPEN, select a new file to view. The FILEDIALOG function opens the file selector window and returns the file the user selected. The _setFile method sends this file to the file viewer.
   when ('OPEN');
      rc = filedialog('OPEN',filename);
      call notify('fileview','_set_file_',
                   filename, 'n');