I don't pretend to understand what all the options are around here, and how they interact. I deleted this as it was not called (though there is code in createPhysicalFile that looks very similar, so I suspect it was just inlined at some point).