Add missing information about the first example in README.md
Clean up example: use context manager when opening files (already done elsewhere in the file), use  rather than %s, remove trailing spaces on a number of lines, break lines at under 80 characters
Merge pull request #269 from jeffknupp/master

Add missing information about the first example in README.md; clean up example code