Improved way of finding files related to default template