protected boolean onFileOpen(File file) throws IOException {
    // skip head magic string
    reader.position((long) TSFileConfig.MAGIC_STRING.getBytes().length + 1);
    this.file = file;
    return true;
  }
@return true if the file should be scanned
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/tools/utils/TsFileSequenceScan.java