fix single file stream