simple java application which merges PDF files and makes an index