import sys

def read_file(filepath):
    with open(filepath, 'r', encoding='utf-8') as f:
        return f.read().splitlines()

file1 = read_file('An Duc Tam Bao/tam_bao_001_010.md')
file2 = read_file('An Duc Tam Bao/tam_bao_001_010_standard.txt')

# Find first line of file 2 in file 1
try:
    idx = file1.index(file2[0])
    print(f"First line of standard text found at line {idx} in extracted text")
except ValueError:
    print("First line of standard text NOT FOUND in extracted text")

