mat file move to mat dir