try to remove existing database file before database generation