The HFS APIs allow you to work with files and directories and with the data stored in files. These APIs perform a wide variety of tasks in the following categories: