Format syncthing function