def arg_parse(self, cfg_filename):
        """
        This function parses the configuration file into a dictionary.

        :return: a dictionary with the settings
        """
        # Parse arguments
        if not cfg_filename:
            print('WARNING CreateSQLiteDB: No source CSV file provided.')

        if isinstance(cfg_filename, str):
            if os.path.isfile(cfg_filename):
                with open(cfg_filename, 'r') as file:
                    cfg_parser = yaml.load(file, Loader=yaml.Loader)
            else:
                raise FileNotFoundError('Configuration file %s not found'
                                        % cfg_filename)
        else:
            raise ValueError('Unacceptable value for configuration file name: '
                             '%s ' % cfg_filename)

        return cfg_parser

        This function parses the configuration file into a dictionary.

        :return: a dictionary with the settings
        
plato/domain/create_domain_sqlite_db.py