Distributed file management