import sqlite3


def connect_to_db(db_name='rpg_db.sqlite3'):
    """
    This is a function that takes in the file name and connect to the DB using sqlite3
    :param db_name:takes in the name of the database
    :return: connect object
    """
    return sqlite3.connect(db_name)