Use with open(file) as f: syntax.
Bumped version number to v1.2.1
Merge branch 'release/1.2.1' into dev