augmented confirm.py to accomodate train_X_Y folder structure