added file information to matrix