update framework to add txt in it.