Added new input file flag and value list parsing.  Makes it a bit more generic