Throw an exception when the template file to be included does not exist