I am having an issue with BytesIO! I try to ran the script which I have found on stackoverflow (about flatten the pdf file) However the problem is with the 2 last line of the sc