added a better way to iterate through xml files; now works with most feeds