transaction = service.transaction() dataSet = transaction.createNewDataSet() transaction.moveFile(incoming.getAbsolutePath(), dataSet)