File based infrastructure for node-batch