(trivial) change type of fileName parameter from const char* to string*