db and config file