txt 2 mat for top files