Path filtering

To prevent from NSURL absolute path issues on IOS.