removing the file extension of the template to remove the deprecation warning