Torah is not a document. The Torah especially is not a document. There is a difference between Torah and The Torah.
A library, a collection of Jewish wisdom told from generation to generation, Torah is less frequently (and more correctly) called Torah Shelba’peh to distinguish it from The Torah. The Torah is less frequently (and incorrectly) called Torah Sheh’bikhtav.
One literally means “oral Torah”, the other literally means “written Torah”. Chas ve’shalom – G!d Forbid – that anything about The Torah is incorrect, other than calling it “written Torah”.
What was once correct, calling The Torah Torah Sheh’bikhtav, is correct no longer. Language advances as time moves on. The Torah is written, certainly, Moshe Rabénu wrote it, or caused it to be written, I do not dispute this.
This describes how The Torah was collected, it does not describe what was collected – and what was collected other than stories?
The Torah has other names, more correct names – sefer torah, chumash – and also separate names, the names of books and chapters, names that group the national histories of the People Israel, names that tell the biographies of a family, Israel’s Children (Bené Yisra’él).