Saving student list to a file