generate text file with course information, write pdf to column certificate_pdf and exporting