test a .pdf file can be read ?