The file functions provide access to standard ASCII files. You can open or create files and then read and write data in free format. Use these functions when you require more complex file operations than are possible with the device functions. For example, importing and exporting data to and from other programs (that support ASCII files).
You can build complex I/O functionality by combining these functions with the format functions.