reads from conf file