File descriptor example, stdin, stdout and stderr