Internal API now uses file arrays (not numbers)