ENH: Fix logic for searching files in bem plot
Merge pull request #1698 from mainakjas/fix_bemplot

ENH: Fix logic for searching files in bem plot