Added support to label images from each XML file