Looping over file contents

Hi @Maarten_Boonekamp,
Check out this answer and tell me if helps.
Cheers,
Vincenzo