Create newtable as txt file