display only when pdf file exists