Remove references to nonexistent files