commit matrix file