The main advantage IPFS has over torrents with magnet links is global deduplication / a global swarm. If you seed a torrent that just contains book A, and I seed a torrent that contains books A and B, I won't provide any bandwidth to people downloading book A through your torrent. If we were using IPFS, someone downloading book A will be able to pull from both you and me, even if we don't personally know about each other and started seeding independently.