Replaced text file with a database.