in reply to recursive directory navigation

This works for me:
ls -1 */*.xyz | sed -e 's![/+]! !g' -e 's!\.xyz$!!' > text-file