Added back in code for making sure the database is not lost if the user attempts to make a new compressed database in an existing directory