adding coloring of thor files. adding textwidth for text based files