add checkpoint file