PEP8.
Code clean up.
ParseValueError exception.
Pattern dict.
Delta strategy.
Code clean up.
Explicit close of file descriptor.
Code clean up.