support for input file redirection. i/o redirection should be complete now