input, output, tempfile and command-tee