Hi guys, thanks for all of your replies. After about 6 hours, I managed 
to get it working by simply changing the way the File.open code was 
being executed. Very very strange but glad its working now :)

Adam K

-- 
Posted via http://www.ruby-forum.com/.