What Is a File?

A file is a data storage unit in a computer system identified by a unique filename. Various types of files store different data. Hence, a computer system includes text files, data files, application files, graphic files, system files, etc.

In a GUI (Graphical User Interface), files are represented by icons associated with the program that opens a specific file. Users employ these programs and other tools to manipulate files. Files can be created, opened, deleted, modified, read, or terminated.