6808 fix unknown error with unrequired files

Fixed bug where null was being sent as part of a submission.