added some TextFile:: parseSection code