output to current directory
remove extra filed in xml