Jesus, serious you guys. I have posted a lot of questions on a lot of forums, and I can honestly say I have not had such a thorough response before. Basically, you've answered the main question, and probably the next 3 questions I would ask :)
Rocknbill, yes I have the filenames stored, I just needed to know how to do the other things detailed here.
Thanks for your help guys and also thanks for writing in a clear and thorough way so I can understand. Much appreciated.