Improving handling of template file that is in a sub-cir relative to main template dir