It seems like these docs would make more sense to put on register() -- from the perspective of inspectFile() callers, all this stuff is basically an implementation detail.