config file access to db