Reintroduced file size code for debugging assertions.