Advantages of using directories
• A directory contains large information about the files, including location and attributes. So, this is useful to the user in keeping track of files.
• The directories are useful to the file management system. It provides access control and other services to users. So, this is useful to improve security and integrity.
• The directories contain files to be organized in a hierarchical mode. So, it avoids the problem of name clashes.