Read the content of the text file.