Excellent. With n=8000, I get file size 146k. Now I can add 2 more ram chips on the SD shield.
Thanks, Gerry