Removes imgs and pdfs not being used