stream input file