using template-utils

replacing utils.file code with template-utils