Loading config from file.