code: @NonNull
      private File[] getCrashReportFiles() {
          final File dir = context.getFilesDir();
          if (dir == null) {
              ACRA.log.w(LOG_TAG, "Application files directory does not exist! The application may not be installed correctly. Please try reinstalling.");
              return new File[0];
          }
  
          if (ACRA.DEV_LOGGING) ACRA.log.d(LOG_TAG, "Looking for error files in " + dir.getAbsolutePath());
  
          // Filter for ".stacktrace" files
          final FilenameFilter filter = (dir1, name) -> name.endsWith(ACRAConstants.REPORTFILE_EXTENSION);
          final File[] result = dir.listFiles(filter);
          return (result == null) ? new File[0] : result;
      }
docs: Returns an array containing the names of pending crash report files.
  
  @return an array containing the names of pending crash report files.