Advantages of a data file in program:
- The data stored in a data file can be reused.
- Single data file can be used by different programs.
- Data file can be created, modified or deleted.