f.close()?
Merge branch 'develop' into deploy-master