Refactored FileSync into CacheFileManager and Comparison, external sync