Don't try to dereference the dbfile pointer if