Removed unused root attribute
Fixed output file path