Provide single utility that encompasses functionality of format and formatPath to