Work on TextParser's write method