import re
import os
files = os.listdir()
pattern = '\w+ \w+ \w+вна'
for fn in files:
print("\t" + fn, end = '\r')
with open(fn, encoding='utf8') as f:
lines = f.readlines()
for line in lines:
res = re.findall(pattern, line)
if(res != []):
print(line)