[ADD] stream support with recursion in write method (data not dropped)