Class TryWithResourcesFilter