2 or 3 smple internet searches would give you this, for example this (https://www.afralisp.net/autolisp/tutorials/file-handling.php) gives you information on how to read lines of text from a text file, with an example you can work through here from Lee Mac which gives an option to select a file.
Have a go and say where you need more help