HAProxy community

Vip that check the folder is in witch backend server

Hello,
I have 2 Backed servers and would like to balance my vip to the server that have the drive J: that contain a folder named check
The J drive will be on 1 backend server at a time (it is either on server1 or server2).
could you please help
Thanks
Liza