private List<BackupPlanPreExecutionWarning> checkXmlScript(String backupPath, int step, Table table, InputDataSourceProvider inputDataSourceProvider) throws IOException {
List<BackupPlanPreExecutionWarning> result = new LinkedList<>();
String filePath = backupLocator.getBackupFilePath(backupPath, step, table);
SourceAndScript sourceAndScript = xmlFileSourceAndScriptParser.parse(filePath);
String sourceRef = sourceAndScript.getSource();
if(isNotProdSourceTargeted(sourceRef, inputDataSourceProvider)){
result.add(new BackupPlanPreExecutionWarning(BackupPlanWarningType.NOT_PROD_TARGET, step, table));
}
return result;
}