Absolutely brilliant. Even for 2014 - I don't care. You solved a LOT of stuff I was lurching about in the dark over.
If anyone is still reading this thread ever - create pure text files on a Mac by using Terminal, and then VI (vi) the unix text editor. Pure text, with a steep learning curve because it's command-line stuff. :-)
but hey. Thanks for the brilliant article.
are you still mining by the way

?
Robert