Deleting files with no target membership

I recently deleted a Target from a large Xcode project and would love to delete all files that no longer have any Target Memberships. How can I achieve that?