in reply to foreach interruption
yes, that's good. i was testing for the existence of the file by substituting an actual filename, but this is better. BUT, i get the same problem, it still interrrupts my foreach loop. it only returns one product instead of the whole list i should be getting.