Targeting a text file

This may have been asked, but I can’t seem to find anything on the subject.
I want to know of if it possible to target different areas of 1 text file. So I would have one file that could populate multiple text fields with different info. I know this is what XML does, but I wanted to know if I could do the same with a .txt doc as well.

Thanks!