def LoadFromDB(conn):
    """
    Load previously processed files from DB
    """
    c = conn.cursor()
    c.row_factory = lambda cursor, row: row[0]
    c.execute("SELECT file FROM files")
    return c.fetchall()