compare file hash instead of mtime