import sqlite3


def read_metadata_table(db_file_name):
    """Read data from the metadata table of DB"""

    conn = sqlite3.connect(db_file_name)
    c = conn.cursor()

    #Read all rows from metadata TABLE
    c.execute('SELECT * FROM metadata')
    metadata_contents = c.fetchall()
    conn.close()
    return metadata_contents