fix for NSURL file