Perhaps a bool return and a std::string& sourcePath param would be a nicer interface?