import sqlite3


def create_connection(db_file):
    """ create a database connection to a SQLite database """
    try:
        connection = sqlite3.connect(db_file)
        print("Opened database successfully", type(connection))
        
    except Exception as e:
        raise e
    return connection