Split File into LocalFile and RemoteFile