with-temp-file should be named with-output-to-file