send exist file xml print writer param writer print writer param file file save except error add xml file writer print writer writer file file save except buffer reader reader buffer reader input stream reader file input stream file argo encod skip xml line line reader read line line line start xml line start doctyp line reader read line line writer println line line reader read line reader close file except save except io except save except 