Switched convertPdfToTextFile.sh to getopt format