Loading settings from configfile