docs: private void readSingleDataFile(Task task, DdlUtilsDataHandling handling, File dataFile)
      {
          if (!dataFile.exists())
          {
              task.log("Could not find data file "+dataFile.getAbsolutePath(), Project.MSG_ERR);
          }
          else if (!dataFile.isFile())
          {
              task.log("Path "+dataFile.getAbsolutePath()+" does not denote a data file", Project.MSG_ERR);
          }
          else if (!dataFile.canRead())
          {
              task.log("Could not read data file "+dataFile.getAbsolutePath(), Project.MSG_ERR);
          }
          else
          {
              int batchSize = 1;
  
              if ((_useBatchMode != null) && _useBatchMode.booleanValue())
              {
                  if (_batchSize != null)
                  {
                      batchSize = _batchSize.intValue();
                  }
              }
              try
              {
                  handling.insertData(new FileReader(dataFile), batchSize);
                  task.log("Read data file "+dataFile.getAbsolutePath(), Project.MSG_INFO);
              }
              catch (Exception ex)
              {
                  if (isFailOnError())
                  {
                      throw new BuildException("Could not read data file "+dataFile.getAbsolutePath(), ex);
                  }
                  else
                  {
                      task.log("Could not read data file "+dataFile.getAbsolutePath(), Project.MSG_ERR);
                  }
              }
          }
      }