First cut getting file streams working