Ending parse files cpp