changed to filelist to include file.path