#include <sys/stat.h>
#include "utils.h"
bool path_exists(const std::string &name) {
struct stat buffer;
return (stat(name.c_str(), &buffer) == 0);
}