write a class that will migrate files that exist on the filesystem to elastic search.
this way if someone uses the systemd service/timer or cron files along with a data directory storing the json of the pastes, we can have a job that:
- iterates through json files in data dir.
- migrates in batches json pastes to elastic search using sidekiq.