fixing a regression relative to feature #4609
File sharing was broken...