Data files are comprised of one or more records and are at the top of the data file hierarchy.
Each record in a file typically describes a unique collection of fields. Files can be used to store all types of information, such as student or employee data.
An example data file called students.dat with comma-delimited records is shown next.