code: private ThymeLeafTemplateImplementation getTemplateByFile(File templateFile) {
          try {
              return getTemplateByURL(templateFile.toURI().toURL());
          } catch (MalformedURLException e) {  //NOSONAR
              // Ignored.
          }
          return null;
      }
docs: Gets the template object using the given file as backend.
  
  @param templateFile the file
  @return the template object, {@literal null} if not found