Ensure database is always cleaned before being populated
Delete temporary file after database generation