InputStreamTextProvider example