fix warn bug
replace const string& filePath with const char * const