Changed databaseFile to databaseFilename, so it's clear that it's the file
name and not the file pointer