If you just want to get a list of existing document names in a document library it is pretty easy.
Create a receive data connection for the document library. You will get a list of the default view which should include the file names. Then you can use them in InfoPath just like any other data. I have used a concatenation formula with the link to the library and the document title in hyperlink controls to dynamically create links to the documents.