Finds the header row for a zero-based file index.
int? rowForFile(int file) { for (final block in _blocks) { if (block.file == file) return block.start; } return null; }