WI - 52954 Adding functionality for file upload through Input stream.
Modified the sample to reflect the upload.