Now uses globals for write/read filenames
Now has NETSTACK_mac.on/off