XML and JSON file validation added