Is it possible to retrive a text file from an NXT?
Using Mindstorms NXT software (NXT-G), you can transfer any file from NXT to computer. Open "NXT window" (NXT icon in the lower right corner of interface), then go to "memory" tab. Select a file in NXT and click on "upload" button.

Or - more convenient - you may use "NXT Explorer" feature of BricxCC (in the "tools" menu).