code: public static void createTemplate(RestClient client, String template, boolean force) throws Exception {
  		String json = TemplateSettingsReader.readTemplate(template);
  		createTemplateWithJson(client, template, json, force);
  	}
docs: Create a template in Elasticsearch. Read read content from default classpath dir.
  @param client Elasticsearch client
  @param template Template name
  @param force set it to true if you want to force cleaning template before adding it
  @throws Exception if something goes wrong