first naive attempt at streaming file.