With the help of the element Text Editor you can display a text file in the user interface and optionally also enable the user to edit the file.
Configuring the Display of a Text File
Configuring the Editing of a Text File