change local file path for iOS