File upload is failing to upload many files