ignore pngs and pdfs