def METHOD_NAME(dbname="results.db"):
    """Attempt a database connection, exiting with 1 if dbname does not exist, else return with db connection"""
    if not os.path.isfile(dbname):
        print("{} does not exist".format(dbname))
        raise IOError(dbname)
    db = sqlite3.connect(dbname)
    db.row_factory = sqlite3.Row
    return db