How to play a video file (avi/mp4) in AppleTV?
The easiest way to to stream it via AirPlay. 

You could also use a cable to hook up your TV, or stream it from an iDevice. You could also put in on a supported video stream site (like YouTube), and play it from the Apple TV's app. There are more ways then I'm able to list in the answer, so explore!