Improved the remote object deleted solver to support files as well.