The Filesystem API provides a NodeJS-like API for working with files on the device.
github.com/familyjs/jigra-plugins
familyjs/jigra-plugins