handle missing template files - return an empty string