Fixed issue related to validaton error on file upload.