working on matrixFromFile()