Use snapshot file for synchronization.
Merge pull request #137 from EasonLiao/snapshot

Use snapshot file for synchronization.