Add text edits to primary file