save with whom file are shared
rearranged File/FileManager code