Stream scan to file