added variable to handle dynamic input file name

added variable to handle dynamic input file name