Commit of ongoing work to read full xref trail in pre-existing files.
Separate readTrailer() into a separate function and perform minor cleanup.