emre/storm — pull request #25 by abhinav-upadhyay (2013-07-19 06:37:16+00:00)
Title: Simplify the code.

Avoid too much nesting of code.
Open file using the with keyword, avoid calling f.close() explicitly.