Removing a reference to a file no longer used