Support a --checkpoint file for batch input
#1466
Merged
--checkpoint file for batch input
#1466