lmt -> txt for templates