--- scoped_nodes.py.t	2012-05-05 19:40:42.626527558 -0700
+++ scoped_nodes.py	2012-05-05 19:40:51.730572708 -0700
@@ -246,7 +246,7 @@
     @property
     def file_stream(self):
         if self.file is not None:
-            return file(self.file)
+            return open(self.file, 'r')
         return None
 
     def block_range(self, lineno):