This API was created with the purpose of making it easier to manage configuration files during the development of a plugin. Spigot provides an excellent tool for handling yaml files, when making use of that tool, many times you have to write several methods for each configuration file, which makes the code longer and less maintainable when the plugin scales, or falling into the practices of copying and pasting existing code and adapting it, with DFile API, DRY (Don't Repeat Yourself) is applied.
DFile API, provides some flexibility, since it does not require reloading the file when there have been manual changes, avoiding the creation or use of the /reload command of a plugin, improving your users' experience.
Documentation and more Information:
https://diegofranco2001.netlify.app/api/dfile
Integration:
Please read the integration guide. The API integration should not add or require dependencies to your plugin or your users (regarding API's created by me).
https://diegofranco2001.netlify.app/api#integration