25 std::vector<std::string>* record_files) {
27 if (!boost::filesystem::exists(p)) {
30 if (boost::filesystem::is_regular_file(p)) {
31 AINFO <<
"Found record file: " << p.c_str();
32 record_files->push_back(p.c_str());
35 if (boost::filesystem::is_directory(p)) {
36 for (
auto& entry : boost::make_iterator_range(
37 boost::filesystem::directory_iterator(p), {})) {