in reply to Re^2: select elements in a list
in thread select elements in a list

Can you be more specific as to why you do not think your solution works? When I run your code, it creates an output file with the following contents:
TEC;UTF;TDE;450 TEC;URT;TDE;687 TEC;UGC;TDE;687
What do you expect your output file to contain?