List of files in the document sets

I have over 50 document sets in a directory, is there a way to extract a list of all the files that are in these document sets without opening each one, sort of batch extract the list of documents.