Added new parameter to matrix.fromFilename