loop through fileEntries

need to comapre filename to fileEntries.name