Add Files or Documents
Both methods are nearly identical in their method signature. The only difference is that the one accepts a path to a file and the other accepts an existing document instance.
Add a document.
Add a document by filename.
So a simplest merge process could look like:
Details about the other parameters are described on the following pages: