Added trial log parsing