private boolean isFileExistedAndNameCorrect(final String fileName) {
    return writingFile != null && writingFile.exists() && writingFile.getName().equals(fileName);
  }
{@link IoTDBFileReceiver} is the parent class of receiver on both configNode and DataNode,
handling all the logic of parallel file receiving.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/receiver/IoTDBFileReceiver.java