A more flexible, asynchronous version of file-size-tree.
npm install file-tree
require('file-tree')(files, mapper, callback)
Takes an array of
mapper(filename, next) should pass an object to the the callback
with the metadata you want to associate with the file.
callback(err, tree) is called when everything's done.
var tree =var fs =