Added code to reset the database files