Title and index text of a rendered page, or nil if it has no <main>
Read an input file and extract the relevant stuff