Help for this page
print F2 grep {/<EMP>/} <F1> ;
while (<F1>){ #Some conversions here print F2 if /<EMP>/; }