C++ port of Perl code to create Terabytes of data for Big Query searching