code review part 3. post processing move + is end of file check