added array of filenames