out.txt, print text nodes