trying to imrpve parser algorithm, note main.py is pointin to the trial location file