Created sub-dirs and database file