Removing references to stale and unused files