fixed issue with individual file upload. All files are uploading fine after this code