use the passed param for 'rand_shuffle' when writing flatfile (I had left it harwired to True. Defaults to true. (it reorders the flatfile)