Add text highlighting.
Modify implementation of state property on files.