The __FILE__ macro is a const char* with the same lifetime as the program.