Added a test file generator.