Add openFile to support stream way to get remote file