intermediate changes to pass tests -- seems to be file::allocate is deadlocking