read and print text