template files for Markov Networks