The File API library provides an abstract, cross-platform API for working with files and folders.
https://github.com/mxro/file-api
stable