There are many variations on this and you need to look up a reference for more detail but to get you started:-
To open a file for writing use:
Open "MyFileName.txt" for OUTPUT as #1 (or) Open "MyFileName.txt" for APPEND as #1
Print #1, "MyText"
Close #1
'Output will create a new file, overwriting an existing file if it exists.
'Append will create a new file or add to an existing one.
To open a file for reading use:
Open "MyFileName.txt" for INPUT as #1
Do While Not EOF(1)
Input #1, MyText (or) Line Input #1, MyText
List1.AddItem MyText '(Display the contents of the file in a listbox, textbox or whatever you prefer)
Loop
Close #1
'Use Line Input if MyText includes any punctuation marks otherwise you will only Input text up to the first punctuation.
Good Luck