print matrix instead of trying to open it