Stable and clean
Scanner for output-to-file