Directories help organize files on storage devices like disks into folders, just like file cabinets organize paper files. A directory is a named section of a storage device that can hold any number of files. If a directory gets too large, it can be divided into subdirectories. Every disk has at least one main directory, called the root directory, that stores all other files and directories.