preliminary file streams