Exporting Illustrator paths from Photoshop

Does anyone have a script that export all paths from a Photoshop file to different Illustrator files?