assertion on file upload #3296