Added true parameter to PrintWriter