restore file pdfmake