Support for watching files.
Make sending and receiving messages working.