change the xml images to files