Implementation of folder synchronization.