[DF-5028] Refactored using FilePath::AsURL() at web view for mac and ios