generate_data creates files with the expected names