making changed to use iterparse instead of parse