Removing file references for deleted files.