command-tool for cheking and genereate template-file.