CheckRoot : Use PrintWriter instead of OutputStream
-->Better to use a Character based stream instead of a byte based one