Move compression to FileHistoryManager.