The Other Scrolls

 were a collection of Gallifreyan prophecies. Willhuff found a copy in the Librarinth and gave it to the Doctor. He burned it because he did not want to know the future, preserving his free will. (PROSE: The Infinity Doctors)