          Required for context handling file dialog, otherwise unused. The variable to associate
          with this file dialog. Default: ``None``
  
      Attributes
      ----------
      return_file: str or object
 
</s> remove     def get_config_file(self, configfile):
        """ Return the config file from the calling folder or the provided file """
 </s> add     def _get_config_file(self, configfile: Optional[str]) -> str:
        """ Return the config file from the calling folder or the provided file

        Parameters
        ----------
        configfile: str or ``None``
            Path to a config file. ``None`` for default location.

        Returns
        -------
        str
            The full path to the configuration file
        """ </s> remove     def __init__(self, section, configfile=None):
        """ Init Configuration  """
 </s> add     def __init__(self, section: Optional[str], configfile: Optional[str] = None) -> None:
        """ Init Configuration

        Parameters
        ----------
        section: str or ``None``
            The configuration section. ``None`` for all sections
        configfile: str, optional
            Optional path to a config file. ``None`` for default location. Default: ``None``
        """ </s> remove     def insert_config_section(self, section, helptext, config=None):
        """ Insert a section into the config """
 </s> add     def insert_config_section(self,
                              section: str,
                              helptext: str,
                              config: Optional[ConfigParser] = None) -> None:
        """ Insert a section into the config

        Parameters
        ----------
        section: str
            The section title to insert
        helptext: str
            The help text for the config section
        config: :class:`configparser.ConfigParser`, optional
            The config parser object to insert the section into. ``None`` to insert it into the
            default config. Default: ``None``
        """
    parent: :class:`tkinter.Frame`, optional
        The parent that is launching the file dialog. ``None`` sets this to root. Default: ``None``
          Required for context handling file dialog, otherwise unused. The variable to associate
          with this file dialog. Default: ``None``
    parent: :class:`tkinter.Frame`, optional
        The parent that is launching the file dialog. ``None`` sets this to root. Default: ``None``
  
      Attributes
      ----------
      return_file: str or object
keep add keep keep keep keep
 Preview - Allow mask color/opacity configuration
  - typing: lib.config
  - docs: lib.config
  - bugfix: popup_configure - keep assets on top 
lib/gui/utils/file_handler.py