need to import the with statement to support python 2.5