Changed with statement for py 2.6 compatibility.