Remote file system3

Supersedes #275