add extension for pdf file