I could be wrong but I will guess that you can't use one Apple TV on two TVs over Wifi.
If you split the HDMI output of the Apple TV you could connect it to both TVs. There are wireless HDMI solutions but they are not cheap.
If may be possible for you to access files on the Apple TV over Wifi using DLNA. Check the TV manual on that.