How to limit search only to file name instead the content of files?
When you're in the Finder, hit Command + F. Notice under the Search: bar there's some options. Use the pulldown to select Name. Then set the next to Matches, Contains... and type in your search string.