Previously we were just checking that the object was "any" object but now we check that it is the file object that we expected. PR Close #25445
Previously we were just checking that the object was "any" object but now we check that it is the file object that we expected. PR Close #25445