xml file checking and parsing added ( Real! :P)