a tool to generate a bunch of dat files.