with statement and fix in storage/cloudfiles