ignore the files of *.pdf and *.log.