Client-side validation added for file size