def __init__(self, filename=None):
    '\n        Initializes the ConfigFile object either\n        by reading in a configuration file\n        or by creating a default configuration file\n\n        Parameters\n        ----------\n        filename: str\n            name of the configuration file\n        '
    _log.info(f'Initializing configfile with {filename}')
    if (filename is None):
        _log.info('No file given, can do nothing!!')
    else:
        self.filename = filename
        keylist = self._load_file(filename)
        header = ConfHeader(filename)
        super(ConfigFile, self).__init__(keylist, header)
Initializes the ConfigFile object either
by reading in a configuration file
or by creating a default configuration file

Parameters
----------
filename: str
    name of the configuration file
def __init__(self, filename=None):
    '\n        Initializes the ConfigFile object either\n        by reading in a configuration file\n        or by creating a default configuration file\n\n        Parameters\n        ----------\n        filename: str\n            name of the configuration file\n        '
    _log.info(f'Initializing configfile with {filename}')
    if (filename is None):
        _log.info('No file given, can do nothing!!')
    else:
        self.filename = filename
        keylist = self._load_file(filename)
        header = ConfHeader(filename)
        super(ConfigFile, self).__init__(keylist, header)