Added shared files feature support. Optimized initial sync.