Enabling file and printer sharing