Change the file argument to db_file so that it is clear that the file must be a database file. This option only makes sense for sqlite and msaccess connections.