create directory of db
edit file