I see. So you're saying that there's nothing in the data itself but you want to check whether each URL in that data is contained in a text file of your own? In that case, read the file into an array by calling File.ReadAllLines. You can then just loop through your data and call Contains on the array, passing the URL.