public boolean exists() {
    return new File(filePath).exists();
  }
Get all modifications stored in this file.

@return an ArrayList of modifications.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/modification/v1/ModificationFileV1.java