Moved to async.series due to new callback for tmpName (too many nested callbacks otherwise)