added an input file so we can do redirection for better testing