Test loop streaming text data

test file in datastreamTest