And in some sense the publisher is a middleman. While authors can sell directly, they rarely do. All of the books I have read had editors, publishers, etc. Not just the author writing and uploading.