Parse xml file and renamed it