the tee-program file creates a new file that is index two of the process...

....argv array the stdin is piped into the stdout which is piped to the newly created file