test: output to file cli example