[stream] add stream file impl