added some NSURL utilities