cleaning up local database file