Understanding files and filesystems

A filesystem is a method used to structure data in a disk, and file is the abstraction used for indicating a piece of self-contained information. If the filesystem is hierarchical, it means that files are organized in a tree of directories, which are special files used for arranging stored files.