ASCII binary writer done

Removed some other formats for the moment. Will stick them in later
Closed over some outer variables. Not sure how good an idea that is