Get getOutputFileName function and libreoffice conversion