Refactoring of ConfigFile.class for the new structure of modbusDriver.config file