Reading settings from configuration file