extended read-config.c