added a string parser for the case where goldencpp actually has .cpp