minor tuning for open text file