cleaning up unreferenced files in addition to removing them from the distro so they don't conflict