Fix sharing of single files