Removes unnecessary image files