private void createDirIfNotExist() { if(!Directory.Exists (this.dir)) { Directory.CreateDirectory (this.dir); } }