asDatabase

Transforms the file into an SQLite database file

Return

a reference to the database

Throws

if something goes wrong