Generates input files for a cluster-forming program.