http://stackoverflow.com/questions/41230293/how-to-efficiently-follow-tail-a-file-with-haskell-including-detecting-file/41231899#41231899 http://unix.stackexchange.com/questions/41668/what-happens-when-you-read-a-file-while-it-is-overwritten http://unix.stackexchange.com/questions/33447/why-we-should-use-create-and-copytruncate-together/39509#39509