Fix bulk loading pdf files