Add example of more readable code.
Map paths to promises with loadPaths().

Since it returns a promise from a path, there's no need to wrap in a
function.