code: private RekordboxAnlz findTrackAnalysis(DataReference track, Database database) {
          File file = null;
          try {
              RekordboxPdb.TrackRow trackRow = database.trackIndex.get((long) track.rekordboxId);
              if (trackRow != null) {
                  file = new File(downloadDirectory, slotPrefix(track.getSlotReference()) +
                          "track-" + track.rekordboxId + "-anlz.dat");
                  final String filePath = file.getCanonicalPath();
                  try {
                      synchronized (Util.allocateNamedLock(filePath)) {
                          if (file.canRead()) {  // We have already downloaded it.
                              return new RekordboxAnlz(new RandomAccessFileKaitaiStream(filePath));
                          }
                          file.deleteOnExit();  // Prepare to download it.
                          fetchFile(track.getSlotReference(), Database.getText(trackRow.analyzePath()), file);
                          return new RekordboxAnlz(new RandomAccessFileKaitaiStream(filePath));
                      }
                  } finally {
                      Util.freeNamedLock(filePath);
                  }
              } else {
                  logger.warn("Unable to find track " + track + " in database " + database);
              }
          } catch (Exception e) {
              logger.error("Problem fetching analysis file for track " + track + " from database " + database, e);
              if (file != null) {
                  //noinspection ResultOfMethodCallIgnored
                  file.delete();
              }
          }
          return null;
      }
docs: Find the analysis file for the specified track, downloading it from the player if we have not already done so.
  Be sure to call {@code _io().close()} when you are done using the returned struct.
  
  @param track the track whose analysis file is desired
  @param database the parsed database export from which the analysis path can be determined
  
  @return the parsed file containing the track analysis