Hi, in the code in the first two gray boxes above, we found we had to call pw.flush() after pw.write(content), otherwise, worked great. cheers.