add mat file