Extract helper method ReadAllObjectText