add table file status and record status to track failure