more improvements

WSops helpers
wrapNode()
checkLinks()
fileName()