**import** function not support variables inside file attribute, it's `{include file="$tpl_name.tpl"}`. It is possible to implement this in any way?