Added templates files validation