Loop in WEB GUI using csv

While doing Web GUI using loop to search multiple item names from an external csv file; how to appropriately use loop so that it doesn’t fetch just the first item from the list everytime? Loop in WEB GUI using csv