modified batch to expect keyed file arrays for slot usage