You can directly use `MCStringConvertToCString(*t_filename, t_char_ptr)`