A directory is simply a file that contains the names and locations of other files. They are called folders on Windows and Macintosh systems. Since a directory is just a file, it may exist under another directory along with `normal' files. A directory may contain a directory which in turn contain other directories and so on. A directory that exists under another directory is called a sub-directory. See figure 2.2.