protected void Init()
 {
     output_file_name = "";
     file = new FileName();
     type = InputFileTemplateType.UNKNOWN;
     replaceList = new Dictionary<string,string>();
 }
 public InputFileTemplate(string fullpath, InputFileTemplateType type)
 {
     Init();
     file.FullPath = fullpath;
     this.type = type;
 }
 public InputFileTemplate AddTemplate(string path, InputFileTemplateType type)
 {
     InputFileTemplate newFile = new InputFileTemplate(path, type);
     AddTemplate(newFile);
     return newFile;
 }