change to only read tex files