Added reading from a database file