Stores student records in a file and displays them