I think runtime falls back to filesize if there is no runtime info, would be nice if we could reuse that code