syncs files over a network