class AuditEventLogger {

    @Nullable
    Location getMostAccurateLocation(long currentTime) {
        removeExpiredLocations(currentTime);

        Location bestLocation = null;
        if (!locations.isEmpty()) {
            for (Location location : locations) {
                if (bestLocation == null || location.getAccuracy() < bestLocation.getAccuracy()) {
                    bestLocation = location;
                }
            }
        }
        return bestLocation;
    }

    public  AuditEventLogger(File instanceFile, AuditConfig auditConfig);

}