Trying to flatten setlist with huge amounts of files may not work
The iPad Pro has only 4GB of ram and apparently this can be maxed out.
The same applies to trying to join hundreds of files in a set list to a single PDF.
These commands will work within reason.