Added option to add pdf file to object