title: Merge pdf files within folder java
body: <p>I have searched a few solutions but cannot really find an answer. Within my app i save reports to pdf using IText, but now i would like to merge all the files within the folder as I complete the report. </p>
  
  <p>The issue is each folder contains different number of files so I cannot just hardcode them in.</p>
  
  <p>Any advice will be appreciated.</p>