grabs xml file (indexing step)