added example for upload with in screen flow.
same refactoring.