added the checkpoint boolean on valueToSequenceFile

incorporated the changes from pull request #243 by @paytronix. closes #243

Revert "incorporated the changes from pull request #243 by @paytronix. closes #243"

This reverts commit 26432fa40da4daed292410b1f97fe3fe101247e9.
incorporated the changes from pull request #243. closes #243