Fix the bug that when restore from log, AddFileCall can't be recognized.