refactor checkpoint
remove old files