Erase tracks if track in json file is empty