I think you will have to make multiple file send requests. Because the get-binary-data() function can only handle one tag name at a time
OR
In your Javascript when appending form data, add a counter to the input name object, i.e. files[]0, files[]1, files[]2...files[]x,
and include the total...