db.dir creating