Reverted PUT to use FILES and created POSTSTREAM to use the stream to send the file in segments.