Added configuration file loading.