enable removal of text dir after parsing