A part of the program im working on at the moment allows the user to rename files, but when they do this the file type is lost, can anyone tell me how to keep the file type, or even if it will work, how to keep the last 3 letters(filetype) of the old name.