controller: use config file