add config file feature