Fixing upload of too many files