extend for tex files