You can also make the filling ahead of time in a saucepan. Mix all ingredients together (besides the flour) and sautéed until apples release its juices, then add in the flour and stir well. Let it cook down until thickened and then proceed to can or freeze it.