Added code to read a file list of input files