Reading file names stored in a file.

Is there any other application I can use or should I just write to a file using a c/c++ program if that could help .