added python routine for generating input file list