removing reference to unlinked file