          command: str
              Required for context handling file dialog, otherwise unused.
          action: str
              Required for context handling file dialog, otherwise unused.
          variable: :class:`tkinter.StringVar`, optional
              Required for context handling file dialog, otherwise unused. The variable to associate
              with this file dialog. Default: ``None``
  
          Returns
          -------
 
</s> remove     variable: :class:`tkinter.StringVar`, optional
 </s> add     variable: str, optional </s> remove         variable: :class:`tkinter.StringVar`
 </s> add         variable: str </s> remove     def _set_defaults(self):
 </s> add     def _set_defaults(self) -> Dict[str, Optional[str]]: </s> remove             handletype = self._contexts[command][variable][action]
 </s> add             handletype = cast(Dict[str, Dict[str, Dict[str, str]]],
                              self._contexts)[command][variable][action] </s> remove     def _set_kwargs(self, title, initial_folder, initial_file, file_type, command, action,
                    variable=None):
 </s> add     def _set_kwargs(self,
                    title: Optional[str],
                    initial_folder: Optional[str],
                    initial_file: Optional[str],
                    file_type: _FileType,
                    command: Optional[str],
                    action: Optional[str],
                    variable: Optional[str] = None
                    ) -> Dict[str, Union[None, tk.Frame, str, List[Tuple[str, str]]]]:
        variable: str, optional
          command: str
              Required for context handling file dialog, otherwise unused.
          action: str
              Required for context handling file dialog, otherwise unused.
        variable: str, optional
              Required for context handling file dialog, otherwise unused. The variable to associate
              with this file dialog. Default: ``None``
  
          Returns
          -------
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py