Split up database file open/create into new function open_db_files
Scanning existing database files on mdhimOpen and opening them