Change file browser code to use a std::vector<std::string> instead of char**
Remove unused free_chararray() function