treat *.pdf as binary file