> To get the contents of the file object, use its read() method, eg: > > a=open("myfile.txt", "rb) > output=a.read() > > "output" is now a string you can use re on, etc. I was actually referring to ZOPE File-objects, which, I found out, don't behave quite the same. Greetz, RS