Add further form validation for file uploads