I would like to include a file

I can do so by  <tmpl_include NAME=index.html>

But I need include different pages depends on my conditions, I tried below, it did not workout.

 <tmpl_include NAME=<tmpl_var name=FILENAME>>

Please suggest me if any other way to handle this situation.

Thank you.