readFormula with configurable reader