creates db file