allow directory search to find files with the extension repeated twice