Text file question

Hi
Got a question.
Task is:
1. Open . txt file with UNKNOWN number of strings in it;
2. Load every string from file and create text actor with loaded string text
How to write procrdure most correctly ?

Got a question.
Task is:
1. Open . txt file with UNKNOWN number of strings in it;
2. Load every string from file and create text actor with loaded string text
How to write procrdure most correctly ?