Also called “folder”, a directory is a collection of files typically created for organizational purposes. Note that a directory is itself a file, so a directory can generally contain other directories. It differs in this way from a partition.