Get your text file, specify the words that application will use to generate page break and create a multipage PDF file.