# DISTRO 4619 Preprocessing Script
This script will take the output file that ACR cloud will send us and do the following:

1. Deduplicate tracks by `unique_track_id` by taking the one with the largest `identifier_timestamp`
2. Reformat the file to output a `filename` for the asset that matches Direct Delivery format (Without suffix).

## Usage
This script should work with python out of the box, so a virtual env isn't required:

```
python main.py input.json output.json
```

This output can then be fed in to the DB pr here to ingest in to Neo4j: https://github.com/theorchard/database/pull/9252
