Added a data file generator to test code.