Fix to support multiple files in one upload