reuploaded bag2csv.py