Checkpoint, file cleanup