Although hitting shift twice opens a search dialogue that includes files, and you can scope down to only files by hitting tab twice straight afterwards (four keystrokes!), you can also jump straight to a file-path-only search with command + shift + o
.
Other keystrokes to search specific scopes are listed in the docs.