gen data file