Filename for SD from .txt file from SD

iegj:
Read the txt file and put the name in to a int and convert this int to a char with itoa.

I can't begin to imagine why you would consider doing this.

When you mention a 'txt' file, does that mean an ascii text file? How is the file name stored within your 'txt' file, i.e. what is the format??