I am currently working on a project which requires me to extract only the text from a PDF and store in a text file. However when I am using the following code, it extracts the c