This doc suggests there is a function called mapBlockToFileSegment, bot none seems to exist in this PR.