improved filelist and remove dup