generate template datafiles