before using the config file in code we should make sure, that it contains required fields and the fields have the right type.