Avi-files can have different codecs. Not all codecs might be are supported by the TV. Generally, converting the file to a supported format is the only solution, if you want to play them from a USB-stick.
It's easier to use the TV as an external monitor for the laptop and use the media player on the laptop that works for the file. All you need then: a HDMI-cable from laptop to TV.