Refactor: Replace character array with std::string file_name_stack