Create course_flat.txt