Added error handler to fileupload accept errors