Create checkpt.c