Update templates to not find same file twice