Add sync() command after recovery file content change