Fixed file watching by using checksum