TemplateService and TaskExecutorService. Main issue with file recreation