Update examples to show writing less file