Added searching for all xml files

Removed constants from code. Added searching for xml files in the whole
directory