check filetypes for more than jpg
clean up bad bg files