The cornstarch or flour in the filling mixture is essential for soaking up excess moisture from the fruit. This will allow the moisture to stay in the filling and not seep into the flaky pie crust.