Read settings from config file.