Same as above for calling with ".pdf"