File search dialog should display two separate fields - one for searching file names, one for searching file contents. File name/content search would then be performed based on which fields are filled. (Ideally the file name field should be focused by default, as that's most compatible with other file commanders.)