File upload examples, fixes #45