massitve wstream fixes, add file streams