in servo_pkg/src/utility.cpp [24:28]
bool checkFile(const std::string &filePath) { int fd = open(filePath.c_str(), O_RDONLY); close(fd); return fd >= 0; }