include extension in pdf_filename