template bugfix

errors list is a nested array: (filename => array(errors list))