Every operating system must have collectable contents of the list of matching files at the same place. So that users can check to see the files. What stores are called "directory" (in some textbooks used books Directory named Folders) the directory itself is treated as a file type as well. The structure itself consists of several sub unit. In each unit, it will probably have the same structure, it consists of a single file or smaller within it.