Update examples with putFile.