Check if template file exists