A file is a collection of related data stored together for later use. A file is stored in a directory on a file system on disk.