I have to run a tool from libreoffice i.e. soffice to convert doc/docx to PDF files. It works well. But I don\'t want to convert them again and again. So I need a if check to de