Thanks! it worked fine but how can i let the computer add the extension for the filename entered by the user??

such as *.txt type