Ignoring temp and pdf files