@reptar Never tried a regular for each over the CSV object or file object, always done this way and so far it works well for me...
I would probably get all the relevant data from the CSV and then do only one search instead of creating one search per each iteration...