Flexible and Adaptable distributed file system