I have a form that allows me to "browse" to get images.... and I want to store the name of that image in a text file, I tried to write it to the file from that input box, it gives me like this:

file1 = C:\Documents and Settings\Owner\My Documents\My Pictures\CutePics\a1.jpg

My goal is just
file1 = a1.jpg

Any help?