If you have an empty program slot (for example slot 1), you can do LOAD "PRG1:FILE", and then the PRGEDIT and PRGGET$() functions to access one line at a time.
Alternatively, you can LOAD("TXT:FILE") to get the entire program as a string, and use string manipulation functions to extract each line.