command modified to accept xml files