Replicated File Management in Large-scale Distributed Systems