Say I've got 
str = IO.read("testfile_for_using_file_open")
how can Idetermone what class this object belongs to?

-- 
John Maclean
MSc (DIC)
07739 171 531