Flexible distributed file storage