File infrastructure for node-batch