It eventually was written down, which is why you're able to read it in a book now, but it wasn't written down first. For example, Paul Bunyan reads like a folk tale and has many folk tale elements in it, but it is not a true folk tale because it was a written story to begin with and not something passed down through the generations orally.