How to see file name in Finder search results using macOS Sierra
Open finder, go to finder preferences in the left corner.

Go to advanced.It should appear a window like this:



Select show all filename extensions and you're done.