Calm down, man. I wasn't trying to insult you or anything, just giving you a hint at a resource, which comes up if you search overloading STDIN:
how do i redirect STDOUT, STDIN, or STDERR to a FILE? . There's something else that comes up on google, I believe, but legal issues prevent me from posting it.