[BUG FIXED] storing just the checkpoint in the .checkpoint file