continue stream on empty file. fixes #1
dont read unneeded amount of data