This question is a bit unclear, while the comments are correct if in fact you did put this file in a public location. i.e. in some sub directory of a web service, accessible to anyone who navigates to this file. You dont specifically mention this.
What I'm saying is the answer to this question could vary heavily depending on where exactly this file was. was it on a web server? or was it on your desktop. these are two very different situations.
Yandex is the web crawler for russia's largest search engine. think of it like their version of google (for russians who dont use google already). It's harmless. Unless somone is impersonating it (paranoia hat). By itself its meaningless, but again, if yandex is crawling the root folder of your home desktop, thats a serious issue, not because of yandex, but because yandex can get there. What i think is really going on here though is you set up a web server and just put this file online, where all the search engine bots will pick away at it. You will find many doing so. In order of highest percentage of web crawled, at least it was, i don't know how outdated my list is anymore, its been a few years, but its good enough to give you the idea.
- Baidu Spider
- MSN Bot/BingBot
- Yandex Bot
- Soso Spider
- Sogou Spider
- Google Plus
these little guys are how all of our search engines work, they need to know whats out there so they "crawl" all over the place and find out.
if you want to lay a "hacker trap" you are better off using what are called "honey pot" tecniques. involving fake mysql dbs, hidden forms, fake RFI vulnerabilities and things like that.