File objects are now associated with a Batch, so that we can delete all the code of a badly-loaded batch just by deleting the Batch.
We'll undo this once we finish the extension refactoring to take duedate out of the Submission.