Comment on upload size limit.

Added validate function to check for file upload.