Added file size check on server side for upload