add read num matrix from file