Moved config_file into constructor