A computer file holds data.
A computer file is a named group of data.
Files can be different types. Some files hold many kinds of data at once. You can use programs to open them. You can read, change, or save them too.
You can share files with other people. You can send them over the Internet. You can also move them using a mobile device.
People can make many copies of a file. You can also change a file many times. This helps you keep your work safe.
Files help keep information organized. They are very useful for all kinds of work. 
A computer file is a named group of data. A file system is the set of steps a computer uses to manage them. This system helps the computer organize and name each file.
Files can hold many things. Some files store written messages or documents. Others hold images, videos, or even programs. A single file can sometimes hold different kinds of data at once. You can use computer programs to open, read, or change a file. You can also save it or close it. 
In the past, people used punched cards to store data. 
Files can be moved between computers. You can use the Internet or a mobile device to share them. A file manager is a tool that lets you work with files. You can use it to move, create, or delete files. You can also use it to rename them. Most files have a size. This tells you how much storage space they use. Some files are packed into one big archive file. This makes them easier to move or save space.
A computer file is a named collection of data. The computer treats this collection as a single unit. To keep everything organized, computers use a file system. This system helps the computer name and manage all its data.
Files work by holding data in specific ways. Most modern systems organize files as a long string of bytes. The format of a file depends on what is inside it. Some systems use a filename extension to show how to read the bytes. For example, a text file uses specific rules for characters. An image or video file uses different rules to show pictures or sound. Many files also include metadata. This is extra information that tells you basic facts about the file itself. 
The idea of a "file" has a long history. The word comes from the Latin word "filum," which means a thread or string. Long ago, people used this word for strings used to hold papers together. In computer history, the term appeared as early as January 1940. W. J. Eckert wrote about using a file of punched cards for astronomy. Later, in 1950, RCA used the term "on file" in an advertisement. They described a new memory tube that could hold results from many computations.
In the early days, the word "file" meant different things. Sometimes it described the hardware itself. For example, the IBM 350 disk drives were called "disk files." By 1952, the word often meant information stored on punched cards. Later, systems like the Burroughs MCP introduced the modern "file system." This allowed one storage device to manage many different virtual files. Today, computers use many types of file systems. Windows systems might use NTFS or older FAT-type systems. Unix-like systems can use multiple file systems at the same time.
You can think of a file like a folder in an office. A payroll file might hold many records for different employees. Each record is a small packet of information about one person. This is just like putting all payroll papers in one specific cabinet. You can use a file manager to move or rename these files. Programs like File Explorer in Windows or Nautilus in Linux help you do this. You can also pack many files into one big archive file. This makes them easier to move or helps them take up less space.
A computer file is a named collection of data that a computer system treats as a single unit. To manage these units, computers use a file system. This system provides a file abstraction, which allows software to organize, name, and manipulate data.
Most modern operating systems organize the contents of a file as a one-dimensional array of bytes. The specific format of a file is determined by its content. On some platforms, a filename extension tells the computer how to interpret these bytes. For example, a plain text file uses rules like ASCII or UTF-8 to turn bytes into characters. In contrast, image or video files use different rules to interpret the same kind of data. Many files also contain metadata. Metadata is a small amount of extra data that provides basic information about the file itself. 
Files can be organized into smaller packets of information known as records or lines. These packets share common traits even if the individual data points are different. For instance, a payroll file might contain many records, where each record represents one specific employee. This is similar to how an office uses a specific filing cabinet to hold all payroll documents. Some files, called archive files, pack many different data files into one single container. Using archives can make files easier to transfer, reduce storage usage, or help organize old data. However, these archive files often must be unpacked before they can be used again.
History shows that the concept of a "file" has evolved significantly. The word originates from the Latin "filum," meaning a thread or string. This originally referred to strings used to hold papers together for easy reference. In computing, the term appeared as early as January 1940. W. J. Eckert used the term to describe a file of punched cards for astronomical work. By 1950, RCA used the phrase "on file" to describe information held in a new memory tube. In the early era, "file" sometimes described the hardware itself, such as the IBM 350 disk drives, which were called "disk files."
The modern definition of a file system emerged through systems like the Burroughs MCP and the MIT Compatible Time-Sharing System. These introduced the idea of managing several virtual files on one storage device. Today, different operating systems use different file systems. Unix-like systems can often use multiple file systems at once. Windows systems frequently use the NTFS file system, though they may still support older FAT-type systems from MS-DOS. Users interact with these systems using a file manager. Programs like File Explorer in Windows or Nautilus in Linux allow users to move, create, delete, or rename files and directories.
When a program works with a file, it performs specific operations. These include creating, opening, reading, writing, and closing a file. Programs can also change access permissions or truncate a file, which means shortening it to a specific size. Moving a file within the same file system is usually very fast. This is because the system only changes the file's path rather than rewriting the actual data. However, moving files between different devices is more complex. Some software deletes the original file immediately after a successful transfer. Other software waits until every single file has been transferred before deleting anything from the source. This latter method can be risky if a power failure occurs during the process.
In many systems, the kernel handles the low-level work of managing files. For example, in Unix-like systems, user-space programs do not operate on files directly. Instead, they interact with the kernel through a filename. When a user deletes a file using a command like "rm," they are often just removing a link to that file. The kernel only considers the memory space free once all links to the file are gone. This is why secure-deletion programs must use special kernel-space functions to completely wipe data. Understanding these layers helps explain how data stays organized and secure across all our digital devices.
🖼️ Images & Media (3)
More to explore
✨ What else?
Related topics you might enjoy
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.