Saving the list of students to a file