Use md5 instead of full path for template