Added loading config from file.