Select the Resources tool from the Tool Menu of your site.
To the right of the folder in which you want to create the text document, from the Actions drop-down menu, select Create Text Document.
This displays the Create Text Document page.
Enter (or paste) the text into the text box, then click Continue.
This displays the details page for the text document.
Enter a display name for the text document, and additional details if needed, then click Finish.