Yes, the file name matters, it affects SEO, and it will rank you. We have a top image bar preview thing position in a very huge search query simply because of the file name. There is no alt on it, and the Google image search preview lists no text. The image we used is a stock photo, so there are thousands of sites that also use it, but G prefers ours. It only sees the file name. The page the image is found on doesn't even rank in the first 30 something pages. Some tips for naming media assets:
Use dashes only, no spaces or underscores, including in the folder structure. If you do need spaces, make sure the asset gen src
replaces them with %20
in source code.
Name them just like you would a page title. Good keyword hierarchy, no spam, and string them together logically.
You can add your domain or company as a file extension before the real one to further sneak in some hits. Something like my-image-is-king.mydomain.jpg
Don't make the file name too long. Obey the 160 chars or less similar to a meta description limit.
Don't waste characters with stop words. So instead of typing "and" for example, just don't put anything.
Don't try to spam image meta data either. Fill in the relevant stuff, but it's optional and not needed. Abusing it will hurt you more than help (just like normal SEO).
So once it ranks up, Google search console will show you as "position #1" on the query. This may be confusing but remember they count the image search preview bar thing as rank positions. Disclaimer, your impressions may be off the charts, but your CTR for that position 1 will potentially be very low. This is because they can check it out without leaving Google. If there is nothing of value, they probably won't click the "view on page".