Computer file

block of arbitrary information, or resource for storing information, which is available to a computer program

A computer file is a means to store information that belongs together. Computer files can be opened (read and written) by computer programs. Usually they are stored on some kind of file system.

There are different kinds of computer files that hold different kinds of data (information):

The way the information is organized in a file is called the file format.