able to merge arrays now from uploaded files