ChargePoint interview question

In first round, I was asked to code to parse the strings, which were files/forlders path in Unix format.