implement synchronization on file for network filesystems