Bugfix in the Upload Assignment: filenumber check

The filenumber check was missing in the Upload Assignment module.
This commit implements it.