use config file for listener